Re: kerberos5 breaks buildworld in -current

2001-10-16 Thread Valentin Chopov

just replace mv with cp in /usr/src/kerberos5/lib/libasn1/Makefile

Val



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



ATA DMA support is broken

2000-10-03 Thread Valentin Chopov

After last changes ata DMA support is not workind and atapicd is not
recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)

Val



Copyright (c) 1992-2000 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.0-CURRENT #5: Tue Oct  3 14:33:01 EDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/VALCHO
Timecounter "i8254"  frequency 1193176 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (647.60-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff
real memory  = 134086656 (130944K bytes)
avail memory = 123797504 (120896K bytes)
Preloaded elf kernel "kernel" at 0xc065d000.
Pentium Pro MTRR support enabled
VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc05d2182 (122)
VESA: S3 Incorporated. M7 BIOS
md0: Malloc disk
apm0:  on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
isab0:  at device 5.0 on pci0
isa0:  on isab0
atapci0:  port 0xfff0-0x at device 5.1 on pci0
atapci0: Busmastering DMA enabled
uhci0:  port 0xff80-0xff9f irq 11 at device 
5.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at 5.3
pci0:  (vendor=0x11c1, dev=0x0441) at 7.0 irq 3
pci0:  (vendor=0x1179, dev=0x0d01) at 9.0 irq 11
pci0:  at 11.0
pci0:  at 11.1
pcm0:  port 0xfefc-0xfeff,0xff00-0xff3f mem 
0xefff8000-0xefff irq 11 at device 12.0 on pci0
acpi0:  on motherboard
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
pcic0: management irq 10
pccard0:  on pcic0
pccard1:  on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
pmtimer0 on isa0
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, 
default to accept, logging disabled
IPv6 packet filtering initialized, default to accept, logging disabled
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = disabled
ata1-master: identify retries exceeded
ad0: 11513MB  [23392/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 1
ep0: <3Com 3C556> at port 0x240-0x25f irq 5 slot 1 on pccard1
ep0: Ethernet address 00:00:86:52:40:af



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



Re: ATA DMA support is broken

2000-10-03 Thread Valentin Chopov

Soren,

yes, I didn't make world today, but cvsup is after your last commit.
Before that in my dmesg it was :

ad0: 11513MB  [23392/16/63] at ata0-master UDMA33
acd0: CDROM  at ata1-master using UDMA33

Thanks,

Val
 

On Tue, 3 Oct 2000, Soren Schmidt wrote:

> It seems Valentin Chopov wrote:
> > After last changes ata DMA support is not workind and atapicd is not
> > recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)
> 
> Are you sure this is with the latest changes ?
> 
> -Søren
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



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



after errors in SCSI (Adaptec 29160), 5.0 freezes

2000-10-10 Thread Valentin Chopov

System is freezes, no panic, no reboot, need cold reset to restart...

Thanks,

Val


This is from /var/log/messages :



Oct 10 00:10:11 squid /boot/kernel/kernel: (da2:ahc0:0:2:0): Invalidating
pack
Oct 10 00:10:44 squid last message repeated 10 times
Oct 10 00:11:03 squid last message repeated 6 times
Oct 10 00:11:07 squid /boot/kernel/kernel: (da2:ahc0:0:2:0): SCB 0x60 -
timed out while idle, SEQADDR == 0x3
Oct 10 00:11:07 squid /boot/kernel/kernel: sg[0] - Addr 0x2af1d000
: Length 4096
Oct 10 00:11:07 squid /boot/kernel/kernel: sg[1] - Addr 0x1c85e000
: Length 2048
Oct 10 00:11:07 squid /boot/kernel/kernel: (da2:ahc0:0:2:0): SCB
96: Immediate reset.  Flags = 0x4040
Oct 10 00:11:07 squid /boot/kernel/kernel: (da2:ahc0:0:2:0): no longer in
timeout, status = 34b
Oct 10 00:11:07 squid /boot/kernel/kernel: ahc0: Issued Channel A Bus
Reset. 32 SCBs aborted


dmesg:

Copyright (c) 1992-2000 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.0-CURRENT #1: Mon Oct  9 16:29:43 EDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/SQUID
Timecounter "i8254"  frequency 1193072 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (733.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  
Features=0x387fbff
real memory  = 805240832 (786368K bytes)
config> di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aic0
No such device: aic0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 779165696 (760904K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 12
IOAPIC #0 intpin 17 -> irq 10
IOAPIC #0 intpin 18 -> irq 11
IOAPIC #0 intpin 19 -> irq 15
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc02c2000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02c209c.
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib1:  at device 
1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 12
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xd000-0xd00f at device 7.1 on pci0
atapci0: Busmastering DMA enabled
ata0: at 0x1f0 irq 14 on atapci0
fxp0:  port 0xd800-0xd81f mem 
0xd700-0xd70f,0xd7201000-0xd7201fff irq 10 at device 17.0 on pci0
fxp0: Ethernet address 00:90:27:12:fa:89
fxp1:  port 0xdc00-0xdc1f mem 
0xd710-0xd71f,0xd720-0xd7200fff irq 11 at device 18.0 on pci0
fxp1: Ethernet address 00:90:27:12:e0:85
ahc0:  port 0xe000-0xe0ff mem 
0xd7202000-0xd7202fff irq 15 at device 19.0 on pci0
aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
isa_dmainit(2, 1024) failed
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, 
default to accept, logging disabled
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = disabled
ad0: 6180MB  [13395/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da2 at ahc0 bus 0 target 2 lun 0
da2:  Fixed Direct Access SCSI-3

ata-raid.c

2000-10-13 Thread Valentin Chopov

ata-raid.c is missing from sys/conf/files

Val



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



error in pci_cfgreg.c

2000-10-16 Thread Valentin Chopov

I got this error while compiling the last kernel: 
 

cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
-D_KERNEL -include opt_global.h -elf -march=i686
-mpreferred-stack-boundary=2  ../../i386/pci/pci_cfgreg.c
../../i386/pci/pci_cfgreg.c: In function `pci_cfgregopen':
../../i386/pci/pci_cfgreg.c:95: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:99: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:100: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:100: sizeof applied to an incomplete type
../../i386/pci/pci_cfgreg.c:100: sizeof applied to an incomplete type
../../i386/pci/pci_cfgreg.c: At top level:
../../i386/pci/pci_cfgreg.c:139: warning: no previous prototype for
`pci_cfgintr'
../../i386/pci/pci_cfgreg.c: In function `pci_cfgintr':
../../i386/pci/pci_cfgreg.c:150: increment of pointer to unknown structure
../../i386/pci/pci_cfgreg.c:150: arithmetic on pointer to an incomplete
type
../../i386/pci/pci_cfgreg.c:151: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:151: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:153: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:153: dereferencing pointer to incomplete type
../../i386/pci/pci_cfgreg.c:157: dereferencing pointer to incomplete type
machine/cpufunc.h:112: warning: inlining failed in call to `ffs'
../../i386/pci/pci_cfgreg.c:157: warning: called from here
../../i386/pci/pci_cfgreg.c:158: dereferencing pointer to incomplete type
*** Error code 1




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



Re: kernel trap 12 with interrupts disabled

2000-10-19 Thread Valentin Chopov

I got the same with addition that the machine hangs:(

Val

On Wed, 18 Oct 2000, Manfred Antar wrote:

> With current kernel I'm getting alot of :
> kernel trap 12 with interrupts disabled
> kernel trap 12 with interrupts disabled
> kernel trap 12 with interrupts disabled
> kernel trap 12 with interrupts disabled
> kernel trap 12 with interrupts disabled
> 
> Kernel from yesterday did not do this.
> Everything seems to work fine although I think it hung on a "shutdown -r now"
> I don't have a monitor hooked up to the machine right now, so I have no further info.
> I'm in process of hooking up a serial console.
> Manfred
> ==
> ||  [EMAIL PROTECTED]   ||
> ||  Ph. (415) 681-6235  ||
> ==
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



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



sys/i386/i386/machdep.c:cpu_idle() changes causes this Was: Re:kernel trap 12 with interrupts disabled

2000-10-20 Thread Valentin Chopov

I found that if I remove  #ifndef SMP /#endif  in:

sys/i386/i386/machdep.c:
void
cpu_idle(void)
{
#ifndef SMP
if (cpu_idle_hlt) {
disable_intr();
if (procrunnable())
enable_intr();
else {
enable_intr();
__asm __volatile("hlt");
}
}
#endif
}

it works again.

I'm running SMP kernel on Dual PIII machine.

Regards,

Val


On Thu, 19 Oct 2000, Valentin Chopov wrote:

> I got the same with addition that the machine hangs:(
> 
> Val
> 
> On Wed, 18 Oct 2000, Manfred Antar wrote:
> 
> > With current kernel I'm getting alot of :
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > kernel trap 12 with interrupts disabled
> > 
> > Kernel from yesterday did not do this.
> > Everything seems to work fine although I think it hung on a "shutdown -r now"
> > I don't have a monitor hooked up to the machine right now, so I have no further 
>info.
> > I'm in process of hooking up a serial console.
> > Manfred
> > ==
> > ||  [EMAIL PROTECTED]   ||
> > ||  Ph. (415) 681-6235  ||
> > ==
> > 
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-current" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



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



device_tagenb in sys/cam/cam_xpt.c

2000-10-31 Thread Valentin Chopov

After last changes , device_tagenb is not defined in sys/cam/cam_xpt.c


Thanks,

Val 



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



CURRENT is freezing again ...

2000-11-16 Thread Valentin Chopov

Hi,

After last cvsup my machine (Dual PIII, SMP kernel) is freezing again in
10 min after boot...

Thanks, 

Val



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



last changes in sys/kern/sysv_*.c in CURRENT and Squid 2.4

2000-12-05 Thread Valentin Chopov

Hi,

I have a problem with running server aplication which using message queues
and shared memory - Squid 2.4

I'm giving short output of gdb.

Thanks,

Val


(gdb) run -N
Starting
program: /usr/home/valentin/squid/squid-2.4-20001205/src/squid -N
Program received signal SIGSYS, Bad system call.
0x48160ba0 in msgsys () from /usr/lib/libc.so.5
(gdb) where
#0  0x48160ba0 in msgsys () from /usr/lib/libc.so.5
#1  0x481568bf in msgget () from /usr/lib/libc.so.5
#2  0x80a9c4c in storeDiskdDirInit (sd=0x8203000) at store_dir_diskd.c:386
#3  0x80a073c in storeDirInit () at store_dir.c:55
#4  0x809d981 in storeInit () at store.c:937
#5  0x80872e1 in mainInitialize () at main.c:523
#6  0x80877f4 in main (argc=2, argv=0xbfbffb78) at main.c:696
#7  0x804a4f1 in _start ()




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



asm error in compiling SMP kernel

2000-12-06 Thread Valentin Chopov

I got this one this time.

Val


cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
-nostdinc -I-  -I. -I../.. -I../../../include 
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf 
-march=i686 -mpreferred-stack-boundary=2  ../../cam/cam_periph.c
../../cam/cam_periph.c: In function `cam_periph_unmapmem':
../../cam/cam_periph.c:687: internal error--unrecognizable insn:
(insn/i 287 1124 288 (parallel[ 
(set (mem/s/v:SI (plus:SI (reg:SI 0 %eax)
(const_int 284 [0x11c])) 0)
(asm_operands/v ("  lock ;  cmpxchgl %4,%0; jz  1f; pushl  
 %2; pushl   %3; callmtx_exit_hard;  addl$8,%%esp;1:# 
exitlock_norecurse") ("=m") 0[ 
(const_int 0 [0x0])
(reg/v:SI 4 %esi)
(reg:SI 5 %edi)
(mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
(const_int 284 [0x11c])) 0)
(reg:SI 0 %eax)
] 
[ 
(asm_input:SI ("gi"))
(asm_input:SI ("g"))
(asm_input:SI ("r"))
(asm_input:SI ("0"))
(asm_input:SI ("1"))
]  ("../../sys/mutex.h") 601))
(set (reg:SI 0 %eax)
(asm_operands/v ("  lock ;  cmpxchgl %4,%0; jz  1f; pushl  
 %2; pushl   %3; callmtx_exit_hard;  addl$8,%%esp;1:# 
exitlock_norecurse") ("=a") 1[ 
(const_int 0 [0x0])
(reg/v:SI 4 %esi)
(reg:SI 5 %edi)
(mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
(const_int 284 [0x11c])) 0)
(reg:SI 0 %eax)
] 
[ 
(asm_input:SI ("gi"))
(asm_input:SI ("g"))
(asm_input:SI ("r"))
(asm_input:SI ("0"))
(asm_input:SI ("1"))
]  ("../../sys/mutex.h") 601))
(clobber (reg:QI 1 %dl))
(clobber (reg:QI 2 %cl))
(clobber (mem:BLK (scratch) 0))
] ) -1 (insn_list 286 (nil))
(nil))
*** Error code 1

Stop in /usr/src/sys/compile/SQUID.



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



sched_ule.c & SMP error

2003-10-16 Thread Valentin Chopov
I'm getting an error in the sched_ule.c

It looks that sched_add is called with "struct kse" arg. instead of
"struct thread"

Thanks,

Val


cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstri
ct-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fform
at-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys
-I/usr/src/sys/contrib
/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
-I/us
r/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
-fno-common -f
inline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings
-mpreferred-sta
ck-boundary=2 -ffreestanding -Werror  /usr/src/sys/kern/sched_ule.c
/usr/src/sys/kern/sched_ule.c: In function `kseq_move':
/usr/src/sys/kern/sched_ule.c:465: warning: passing arg 1 of `sched_add'
from in
compatible pointer type
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


==
Valentin S. Chopov, CC[ND]P
Sys/Net Admin
SEI Data Inc.
E-Mail: [EMAIL PROTECTED]
==


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