Re: TESTERS WANTED for ATAng preview 2

2003-08-18 Thread Radko Keves
;), Sat, Aug 16, 2003 at 10:06:02PM +0200, Soeren Schmidt said that
> The story continues with Preview 2 - from the README:
> 
> Now the functionality is almost equal to that of stock ATA, I'm getting
> close to being ready to expose this on the -current users, so please
> give this a go to shake out the last nasties.
> I've fixed alot of minor issue that testers have reported back (thanks!!),
> plus a few chipset issued found over the last days.
> 
> Grap the latest from ftp.deepcore.dk/pub/ATAng and apply the diff files 
> to your src tree, remove the contents of sys/dev/ata and extract the 
> ATAng-*tgz file there, then do the usual drill to get a new kernel...
> 
> As usual it might kill your dog, abduct your kids and whatnot :)
> 
> Let me know how this works out for you!
> -Søren

hi

sorry if i'm late :)

i attache my dmesg from:
Mon May 19 15:01:33 CEST 2003
(last when kernel found my disks)

current driver from cvs doesn't find any disk -- when try to mount root
:(
and when i use driver from ftp.deepcore.dk/pub/ATAng have found disks ...
but write message:
WARNING: READ_DMA unable to allocate interrupt
"every second", and system was booting in the background, bud when try
to start shell i see only this message on the console

if i can help tell me what to do ...

-- 
Archeologists near mount Sinai have discovered what is believed to be a
  missing page from the Bible.  The page is currently being carbon dated
  in Bonn.  If genuine it belongs at the beginning of the Bible and is
  believed to read "To my darling Candy.  All characters portrayed
  within  this book are fictitous and any resemblance to persons living 
  or dead is purely coincidental." The page has been universally 
  condemned by church leaders.

RED DWARF Series II Episode 2, "Better Than Life"
-
R
Copyright (c) 1992-2003 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 5.1-BETA #32: Mon May 19 15:01:33 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/angel
Preloaded elf kernel "/boot.rado/kernel/kernel" at 0xc04f8000.
Calibrating clock(s) ... i8254 clock: 1193063 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
Calibrating TSC clock ... TSC clock: 927110285 Hz
Timecounter "TSC"  frequency 927110285 Hz
CPU: Intel Pentium III (927.11-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383fbff
real memory  = 268435456 (256 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0051f000 - 0x0fb59fff, 258191360 bytes (63035 pages)
avail memory = 255422464 (243 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fa000
bios32: Entry = 0xeca00 (c00eca00)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xeca00+0x1047
pnpbios: Found PnP BIOS data at 0xc00fe1c0
pnpbios: Entry = f:676c  Rev = 1.0
Other BIOS signatures found:
wlan: <802.11 Link Layer>
null: 
random: 
mem: 
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pci_open(1):mode 1 addr port (0x0cf8) is 0x8070
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=80] is there (id=00091166)
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00ede90
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded0   15A   0x01  3 4 5 7 10 11 14 15
embedded0   15B   0xff  none
embedded0   15C   0xff  none
embedded0   15D   0xff  none
slot 1  52A   0x13  3 4 5 7 10 11 14 15
slot 1  52B   0x14  3 4 5 7 10 11 14 15
slot 1  52C   0x15  3 4 5 7 10 11 14 15
slot 1  52D   0x15  3 4 5 7 10 11 14 15
slot 2  51A   0x10  3 4 5 7 10 11 14 15
slot 2  51B   0x11  3 4 5 7 10 11 14 15
slot 2  51C   0x12  3 4 5 7 10 11 14 15
slot 2  51D   0x12  3 4 5 7 10 11 14 15
slot 3  01A   0x16  3 4 5 7 10 11 14 15
slot 3  01B   0x17  3 4 5 7 10 11 14 15
slot 3  01C   0x18  3 4 5 7 10 11 14 15
slot 3  01D   0x19  3 4 5 7 10 11 14 15
slot 4  02A   0x1a  3 4 5 7 10 11 14 15
slot 4  02B   0x1b  3 4 5 7 10 11 14 15
slot 4  02C   0x1a  3 4 5 7 10 11 14 15
slot 4  02D   0x1b  3 4 5 7 10 11 14 15
slot 5  03A   0x1c  3 4 5 7 10 11 14 15
slot 5  03B   0x1d  3 4 5 7 10 11 14 15
slot 5  03C   0x1c  3 4 5 7 10 11 14 15
slot 5  03D   0x1d  3 4 5 7 10 11 14 15
slot 6  04A   0x1e  3 4 5 7 10 11 14 15
slot 6  04B   0x1f  3 4 5 7 10 11 14 15
slot 6  04C   0x1e  3 4 5 7 10 11 14 15
slot 6  04D   0x1f  3 4 5 7 10 11 14 15
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci0: physical bus=0
found-> vendor=0x1166, dev=0x0009, revid=0x0

Re: HEADS UP! ATAng committed

2003-08-25 Thread Radko Keves
;), Sun, Aug 24, 2003 at 11:27:05AM +0200, Soren Schmidt said that
> 
> ATAng has just been committed. You need to make world after this update
> as atacontrol etc needs to pick up the changes.
> 
> -Søren
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



hi 

i try ATAng from current cvs and have found old warnings:

ad4: WARNING-SETFEATURES recovered from missing interupt
ad4: WARNING-READ_DMA recovered from missing interupt
[..] 
ad4: 38166MB  [77545/16/63] at ata2-master UDMA100
[..]
ad4: WARNING-SETFEATURES recovered from missing interupt
ad4: WARNING-READ_DMA recovered from missing interupt
[..]

in circle longer than 5 minutes then i reboot box and use last kernel
which worked with my ATA from: May 19 2003   :(


it is old warning/error but nothing changed

dmesg attached


bye
-- 
-
Radko Keves
Copyright (c) 1992-2003 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 5.1-BETA #32: Mon May 19 15:01:33 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/angel
Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc04f8000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 927107442 Hz
CPU: Intel Pentium III (927.11-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383fbff
real memory  = 268435456 (256 MB)
avail memory = 255422464 (243 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00ede90
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
fxp0:  port 0x1800-0x183f mem 
0xb100-0xb10f,0xb110-0xb1100fff irq 11 at device 5.0 on pci1
fxp0: Ethernet address 00:50:8b:e9:e8:92
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1:  at device 6.0 (no driver attached)
pci1:  at device 7.0 (no driver attached)
atapci0:  port 
0x1840-0x184f,0x1864-0x1867,0x1858-0x185f,0x1860-0x1863,0x1850-0x1857 irq 10 at device 
8.0 on pci1
ata2: at 0x1850 on atapci0
ata3: at 0x1858 on atapci0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2000-0x207f mem 0xb150-0xb150007f 
irq 11 at device 4.0 on pci0
xl0: Ethernet address: 00:04:76:9d:0c:cd
miibus1:  on xl0
ukphy0:  on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  port 0xfc00-0xfc0f at device 15.0 on pci0
isa0:  on isab0
atapci1:  port 0x2080-0x208f at device 15.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0:  at device 15.2 (no driver attached)
pcib5:  at pcibus 5 on motherboard
pci5:  on pcib5
orm0:  at iomem 
0xe8000-0xe,0xd2000-0xdcfff,0xd-0xd07ff,0xc8000-0xc,0xc-0xc7fff on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
Timecounters tick every 10.000 msec
ata0-slave: timeout waiting for interrupt
ata0-slave: ATA identify failed
ad4: 38166MB  [77545/16/63] at ata2-master UDMA100
ad5: 38166MB  [77545/16/63] at ata2-slave UDMA100
ata0-master:  - NO DRIVER!
Mounting root from ufs:/dev/ad4s1a
WARNING: /export was not properly dismounted
WARNING: /root was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /backhome was not properly dismounted
WARNING: /var/mail was not properly dismounted
WARNING: /var/www was not properly dismounted
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATAng probe updated please test

2003-09-02 Thread Radko Keves
;), Mon, Sep 01, 2003 at 01:16:00PM +0200, Soren Schmidt said that
> 
> I've gone over the probe code once again.
> 
> Please test, and in case it fails to detect or misdetects anything,
> mail me the output of dmesg from a verbose boot, and state what
> devices actually are there.
> 
> Thanks!
> 
> -Søren


hi

problems still continued:

[...]
ATA_IDENTIFY recovered from missing interupt
ATA_IDENTIFY status=1 error=4
[...]


in circle then i boot kernel from May 19 2003

see my previous mail to this mailing list for detail


dmesg attached

bye and have a nice day
-- 
Archeologists near mount Sinai have discovered what is believed to be a
  missing page from the Bible.  The page is currently being carbon dated
  in Bonn.  If genuine it belongs at the beginning of the Bible and is
  believed to read "To my darling Candy.  All characters portrayed
  within  this book are fictitous and any resemblance to persons living 
  or dead is purely coincidental." The page has been universally 
  condemned by church leaders.

RED DWARF Series II Episode 2, "Better Than Life"
-
R
Copyright (c) 1992-2003 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 5.1-BETA #32: Mon May 19 15:01:33 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/angel
Preloaded elf kernel "/boot.okay/kernel.old/kernel" at 0xc04f8000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 927106952 Hz
CPU: Intel Pentium III (927.11-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383fbff
real memory  = 268435456 (256 MB)
avail memory = 255422464 (243 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00ede90
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
fxp0:  port 0x1800-0x183f mem 
0xb100-0xb10f,0xb110-0xb1100fff irq 11 at device 5.0 on pci1
fxp0: Ethernet address 00:50:8b:e9:e8:92
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1:  at device 6.0 (no driver attached)
pci1:  at device 7.0 (no driver attached)
atapci0:  port 
0x1840-0x184f,0x1864-0x1867,0x1858-0x185f,0x1860-0x1863,0x1850-0x1857 irq 10 at device 
8.0 on pci1
ata2: at 0x1850 on atapci0
ata3: at 0x1858 on atapci0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2000-0x207f mem 0xb150-0xb150007f 
irq 11 at device 4.0 on pci0
xl0: Ethernet address: 00:04:76:9d:0c:cd
miibus1:  on xl0
ukphy0:  on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  port 0xfc00-0xfc0f at device 15.0 on pci0
isa0:  on isab0
atapci1:  port 0x2080-0x208f at device 15.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0:  at device 15.2 (no driver attached)
pcib5:  at pcibus 5 on motherboard
pci5:  on pcib5
orm0:  at iomem 
0xe8000-0xe,0xd2000-0xdcfff,0xd-0xd07ff,0xc8000-0xc,0xc-0xc7fff on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (memory)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
Timecounters tick every 10.000 msec
ata0-slave: timeout waiting for interrupt
ata0-slave: ATA identify failed
ad4: 38166MB  [77545/16/63] at ata2-master UDMA100
ad5: 38166MB  [77545/16/63] at ata2-slave UDMA100
ata0-master:  - NO DRIVER!
Mounting root from ufs:/dev/ad4s1a
WARNING: /export was not properly dismounted
WARNING: /root was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /backhome was not properly dismounted
WARNING: /var/mail was not properly dismounted
WARNING: /var/www was not properly dismounted
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PR

ATAng errors on compaq proliant 330e

2003-10-09 Thread Radko Keves
hi

this verbosed dmesg is from my box maybe it help you

have a nice day
-- 
Archeologists near mount Sinai have discovered what is believed to be a
  missing page from the Bible.  The page is currently being carbon dated
  in Bonn.  If genuine it belongs at the beginning of the Bible and is
  believed to read "To my darling Candy.  All characters portrayed
  within  this book are fictitous and any resemblance to persons living 
  or dead is purely coincidental." The page has been universally 
  condemned by church leaders.

RED DWARF Series II Episode 2, "Better Than Life"
-
R
  52D   0x15  3 4 5 7 10 11 14 15
slot 2  51A   0x10  3 4 5 7 10 11 14 15
slot 2  51B   0x11  3 4 5 7 10 11 14 15
slot 2  51C   0x12  3 4 5 7 10 11 14 15
slot 2  51D   0x12  3 4 5 7 10 11 14 15
slot 3  01A   0x16  3 4 5 7 10 11 14 15
slot 3  01B   0x17  3 4 5 7 10 11 14 15
slot 3  01C   0x18  3 4 5 7 10 11 14 15
slot 3  01D   0x19  3 4 5 7 10 11 14 15
slot 4  02A   0x1a  3 4 5 7 10 11 14 15
slot 4  02B   0x1b  3 4 5 7 10 11 14 15
slot 4  02C   0x1a  3 4 5 7 10 11 14 15
slot 4  02D   0x1b  3 4 5 7 10 11 14 15
slot 5  03A   0x1c  3 4 5 7 10 11 14 15
slot 5  03B   0x1d  3 4 5 7 10 11 14 15
slot 5  03C   0x1c  3 4 5 7 10 11 14 15
slot 5  03D   0x1d  3 4 5 7 10 11 14 15
slot 6  04A   0x1e  3 4 5 7 10 11 14 15
slot 6  04B   0x1f  3 4 5 7 10 11 14 15
slot 6  04C   0x1e  3 4 5 7 10 11 14 15
slot 6  04D   0x1f  3 4 5 7 10 11 14 15
AcpiOsDerivePciId: bus 0 dev 0 func 0
AcpiOsDerivePciId: bus 0 dev 0 func 1
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
unknown: I/O range not supported
ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.IBRG.SMIC] in namespace, AE_NOT_FOUND
SearchNode 0xc2d39a40 StartNode 0xc2d39a40 ReturnNode 0
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.IBRG.KBD_._STA] (Node 
0xc2d39a40), AE_NOT_FOUND
ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.IBRG.SMIC] in namespace, AE_NOT_FOUND
SearchNode 0xc2d39980 StartNode 0xc2d39980 ReturnNode 0
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.IBRG.PS2M._STA] (Node 
0xc2d39980), AE_NOT_FOUND
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
 initial configuration 
\\_SB_.LNK6 irq  10: [  3  4  5  7 10 11 14 15] low,level,sharable 0.1.0
\\_SB_.LNK7 irq  11: [  3  4  5  7 10 11 14 15] low,level,sharable 0.1.1
\\_SB_.LNK8 irq   5: [  3  4  5  7 10 11 14 15] low,level,sharable 0.1.2
\\_SB_.LNK9 irq   5: [  3  4  5  7 10 11 14 15] low,level,sharable 0.1.3
\\_SB_.LNKA irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.2.0
\\_SB_.LNKB irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.2.1
\\_SB_.LNKA irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.2.2
\\_SB_.LNKB irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.2.3
\\_SB_.LNKC irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.3.0
\\_SB_.LNKD irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.3.1
\\_SB_.LNKC irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.3.2
\\_SB_.LNKD irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.3.3
\\_SB_.LNKE irq  11: [  3  4  5  7 10 11 14 15] low,level,sharable 0.4.0
\\_SB_.LNKF irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.4.1
\\_SB_.LNKE irq  11: [  3  4  5  7 10 11 14 15] low,level,sharable 0.4.2
\\_SB_.LNKF irq   0: [  3  4  5  7 10 11 14 15] low,level,sharable 0.4.3
\\_SB_.LNKG irq   5: [  3  4  5  7 10 11 14 15] low,level,sharable 0.15.0
 before setting priority for links 
\\_SB_.LNKA:
interrupts:  3 4 5 710111415
penalty:  2100  2100  1400  2100  1200  1400 11100 11100
references: 2
priority:   0
\\_SB_.LNKB:
interrupts:  3 4 5 710111415
penalty:  2100  2100  1400  2100  1200  1400 11100 11100
references: 2
priority:   0
\\_SB_.LNKC:
interrupts:  3 4 5 710111415
penalty: 

portmap

2002-07-30 Thread Radko Keves

i have problem with mountd, and i think that is portmap problem

i upgrade from 4.5 to 5.0 and portmap haven't found new, and source for portmap 
haven't found too

i need your help



mountd write this logs:
Jul 30 21:18:25 kripel mountd[16350]: can't register UDP RPCMNT_VER1 service
Jul 30 21:18:25 kripel mountd[16350]: can't register UDP RPCMNT_VER3 service
Jul 30 21:18:25 kripel mountd[16350]: can't register TCP RPCMNT_VER1 service
Jul 30 21:18:25 kripel mountd[16350]: can't register TCP RPCMNT_VER3 service
Jul 30 21:18:25 kripel mountd[16350]: can't register UDP6 RPCMNT_VER1 service
Jul 30 21:18:25 kripel mountd[16350]: can't register UDP6 RPCMNT_VER3 service
Jul 30 21:18:25 kripel mountd[16350]: can't register TCP6 RPCMNT_VER1 service
Jul 30 21:18:25 kripel mountd[16350]: can't register TCP6 RPCMNT_VER3 service
Jul 30 21:18:25 kripel mountd[16350]: could not create any services



-- 
--
bye
R.R.K.K.

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



possieble bug in chsh chfn

2002-08-01 Thread Radko Keves

Desription:

unauthorized write access to /etc directory using chfn/chsh commands in FreeBSD 
5.0-CURRENT.


Contributing factors:

In FreeBSD 5.0, it is possible to fill up the whole partition by using chfn/chsh 
commands. Normally, users have quotas set up on directories that are allowed to be 
written for them, e.g. home directory, /tmp, /var/tmp, etc.

Let's say, a user has quotas set up this way:

% quota -u rado
Disk quotas for user rado (uid 1001):
 Filesystem   usage   quota   limit   grace   files   quota   limit   grace
  /home   66760  50  553481   0   0
   /tmp  135193  26  285417   0   0
   ...

There's normally no need to set up quotas for other partitions (such as /, /usr, ...) 
because ordinary users have no permissions to write/change the files in that 
directories, e.g. in / or /etc.


Symptoms:

Our experience with the chsh/chfn commands shows that when a user changes his/her 
finger information/shell, these commands invoke vi editor with a temporary file stored 
in /tmp. Imagine that a user's quota exceeded his/her limit for /tmp. Our ordinary 
user did this by filling up /tmp partition with many large files. chfn/chsh commands 
then stored their temporary files in /etc directory with given user's permissions, 
e.g.:

% id happy
uid=2006(happy) gid=58(st1999) groups=58(st1999)

% quota -u happy
 ...
 /tmp   21995*  2   22000   7days   6   0   0
 ...
(We can see that the disk quota exceeded in /tmp for user happy)

% ls -ld /etc
drwxr-xr-x  20 root  wheel  22016 Aug  1 19:22 /etc

% ls -l /etc | grep happy
-rw---   1 happy  st1999157278362 Aug  1 19:19 pw.BEMwxq
-rw---   1 happy  st1999  154 Aug  1 19:22 pw.KxGCF3
-rw---   1 happy  st1999157278362 Aug  1 19:19 pw.iW7Pmt
-rw---   1 happy  st1999157278362 Aug  1 19:20 pw.rhJq0s
-rw---   1 happy  st1999157278374 Aug  1 19:16 pw.tpPLK4

Now it is possible for such a user to fill up the root partition without having a 
permission set on /, e.g. with

% cat /dev/zero >> /etc/pw.KxGCF3


Workaround:

Our workaround is to either set up a quotas for a root partition or disable chsh/chfn 
commands.


Important Notices:

1. chpass, ypchpass, ypchfn, and ypchsh commands seem to be also affected by the 
symptoms described above because they are just hard links... :)
2. When experimenting with a chpass command, it caused a segmentation fault when used 
with -a argument because of a NULL pointer comparation in chpass.c, line 169: 

(no getpw* (3) library call invoked!!!)
if ((pw->pw_fields & _PWF_SOURCE) == _PWF_NIS)

% id happy
uid=2006(happy) gid=58(st1999) groups=58(st1999)

% chpass -a q
Segmentation fault

chpass doesn't seem to be locally exploitable. Some changes to a source code are 
needed for normal operation.


Credits:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-- 
--
bye
R.R.K.K.

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



question about ipl.ko

2002-08-16 Thread Radko Keves

i try to load ipl.ko 

#kldload -v /boot/kernel/ipl.ko
kldload: can't load /boot/kernel/ipl.ko: Exec format error

#kldstat
Id Refs AddressSize Name
 1   10 0xc010 45fd04   kernel
 21 0xc056 1b410linux.ko
 32 0xc057c000 90f0 ipfw.ko
 41 0xc0586000 5374 ip6fw.ko
 51 0xc058c000 e6d8 agp.ko
 61 0xc059b000 77d8 dummynet.ko
 71 0xc2d9a000 16000nfsserver.ko

#dmesg 

FreeBSD 5.0-CURRENT #4: Wed Aug 14 13:46:59 CEST 2002
root@kripel:/usr/src/sys/i386/compile/angel
Preloaded elf kernel "/boot//kernel/kernel" at 0xc05a4000.
Preloaded elf module "/boot//kernel/linux.ko" at 0xc05a40ac.
Preloaded elf module "/boot//kernel/ipfw.ko" at 0xc05a4158.
Preloaded elf module "/boot//kernel/ip6fw.ko" at 0xc05a4204.
Preloaded elf module "/boot//kernel/agp.ko" at 0xc05a42b0.
Preloaded elf module "/boot//kernel/dummynet.ko" at 0xc05a435c.

it's my problem, for example in the kernel module loading sequence, or current problem 
?

thank 
-- 
--
bye
R.R.K.K.

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



what can i do ?

2002-08-19 Thread Radko Keves

Security Advisory FreeBSD-SA-02:38.signed-error

i try to patch it (of cource in current ;( ) and:

The text leading up to this was:
--
|Index: sys/i386/isa/vesa.c
|diff -u sys/i386/isa/vesa.c:1.32 sys/i386/isa/vesa.c:1.32.10.1
|--- sys/i386/isa/vesa.c:1.32   Sat Jan 29 07:08:40 2000
|+++ sys/i386/isa/vesa.cTue Aug 13 05:12:40 2002
--
Patching file sys/i386/isa/vesa.c using Plan A...
Hunk #1 succeeded at 1372 with fuzz 2 (offset 55 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: sys/kern/uipc_syscalls.c
|diff -u sys/kern/uipc_syscalls.c:1.65.2.9 sys/kern/uipc_syscalls.c:1.65.2.9.6.1
|--- sys/kern/uipc_syscalls.c:1.65.2.9  Tue Jul 31 03:49:39 2001
|+++ sys/kern/uipc_syscalls.c   Tue Aug 13 05:12:41 2002
--
Patching file sys/kern/uipc_syscalls.c using Plan A...
Hunk #1 failed at 206.
Hunk #2 failed at 1195.
Hunk #3 failed at 1277.
3 out of 3 hunks failed--saving rejects to sys/kern/uipc_syscalls.c.rej
done


i know that patch wasn't for current, but is it needed to patch it ?

thank
-- 
bye
R.R.K.K.

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



kernel: drop session, too many entries

2002-08-20 Thread Radko Keves

hi all i have problem, and don't know why:

Aug 20 10:41:21 kripel kernel: drop session, too many entries
Aug 20 10:41:32 kripel last message repeated 2 times
Aug 20 10:47:06 kripel kernel: drop session, too many entries
Aug 20 10:47:09 kripel kernel: drop session, too many entries
Aug 20 10:49:08 kripel su: rado to root on /dev/ttyp6
Aug 20 10:49:32 kripel kernel: ../../../vm/uma_core.c:1332: could sleep with "inp" 
locked from ../../../netinet/tcp_usrreq.c:536Aug 20 
10:49:32 kripel kernel: ../../../vm/uma_core.c:1332: could sleep with "inp" locked 
from ../../../netinet/tcp_usrreq.c:536Aug 20 10:51:10 
kripel kernel: drop session, too many entries
Aug 20 10:58:33 kripel syslogd: kernel boot file is /boot//kernel/kernel

and reboot ;(

i think that may be with this, but:

#sysctl -a | grep entries
vfs.pfs.vncache.entries: 1
vfs.pfs.vncache.maxentries: 3

#sysctl -w vfs.pfs.vncache.entries=2
sysctl: oid 'vfs.pfs.vncache.entries' is read only

this is 2 times in one hour, what can i do ?

please help
-- 
--
bye
R.R.K.K.

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



problem with compiling libkvm ..

2002-09-18 Thread Radko Keves

i try to compile kvm library with today's source on i386 tree and have found this 
error:

[...]
cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
/usr/src/lib/libkvm/kvm.c -o kvm.o
In file included from /usr/src/lib/libkvm/kvm.c:63:
/usr/src/lib/libkvm/kvm.h:49: syntax error before "size_t"
/usr/src/lib/libkvm/kvm.h:49: warning: useless keyword or type name in empty 
declaration
/usr/src/lib/libkvm/kvm.h:49: warning: empty declaration
/usr/src/lib/libkvm/kvm.h:54: syntax error before "ssize_t"
/usr/src/lib/libkvm/kvm.h:54: warning: useless keyword or type name in empty 
declaration
/usr/src/lib/libkvm/kvm.h:54: warning: empty declaration
*** Error code 1


and when i make changes in Makefile:
< CFLAGS+=-DLIBC_SCCS
---
> CFLAGS+=-DLIBC_SCCS -I${.CURDIR}


have found this error:
[...]
cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS  -c /usr/src/lib/libkvm/kvm_proc.c -o 
kvm_proc.o
/usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
/usr/src/lib/libkvm/kvm_proc.c:346: `TDS_INHIBITED' undeclared (first use in this 
function)
/usr/src/lib/libkvm/kvm_proc.c:346: (Each undeclared identifier is reported only once
/usr/src/lib/libkvm/kvm_proc.c:346: for each function it appears in.)
*** Error code 1



but don't know what is TDS_INHIBITED 
i haven't found it in includes only in source tree:
/usr/src/sys/sys/proc.h so i append it to kvm.c
but:
[...]
many errors and:
/usr/src/sys/sys/proc.h:568: `MAXCOMLEN' undeclared here (not in a function)
In file included from /usr/include/sys/user.h:61,
 from /usr/src/lib/libkvm/kvm.c:49:
/usr/include/sys/signalvar.h: In function `__sigisempty':
/usr/include/sys/signalvar.h:172: structure has no member named `__bits'
/usr/include/sys/signalvar.h: In function `__sigseteq':
/usr/include/sys/signalvar.h:184: structure has no member named `__bits'
/usr/include/sys/signalvar.h:184: structure has no member named `__bits'
*** Error code 1

so i thing this way is wrong
have someone this experience too ?
bye
-- 
20:05  up 22:46, 16 users, load averages: 0,44 0,15 0,06
--
FreeBSD 5.0-CURRENT #15: root@kripel:/usr/src/sys/i386/compile/angel

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



please apply patch to openwebmail /FreeBSD ports

2003-03-12 Thread Radko Keves
hi all


http://openwebmail.org/openwebmail/download/cert/patches/SA-03:01/

is the patch please apply it to your ports


my uname:
FreeBSD kripel 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Fri Jan 31 14:32:34
CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC  i386


and todays ports 
/* it's local root */

-- 
have a nice day and bye
-
R

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