Re: MAKEDEV warning

2000-04-21 Thread Scott Flatman

On Thu, 20 Apr 2000, Dirk Roehrdanz wrote:

[ snippage ]

> I get this message too whenever I mount a mfs filesystem.
> The line in /etc/fstab is:
> /dev/da0s1b /tmp  mfs rw,async,-s327680   0
> 
> The output of "ls -l /dev/*da0s1b" is:
> crw-r-  1 root  operator   13, 0x00020001 Dec 12 21:09 /dev/da0s1b
> crw-r-  1 root  operator   13, 0x00020001 Dec 12 21:09 /dev/rda0s1b
> 
> Regards
> Dirk

I also get the same warning when I mount /tmp on an MFS filesystem. I
don't get the warning when I pass the "nodev" option to mount.

/etc/fstab:
/dev/da0s2b  /tmp  mfs  rw,-s131072  0  0
=> warning message

/etc/fstab:
/dev/da0s2b  /tmp  mfs  rw,nodev,-s131072  0  0
=> no warning message

Looking in sys/kern/kern_conf.c at the function udev2dev() gave me the
clue to use "nodev". Not that I understand what's happening or am able
to fix it.

Scott
---
"When repairs are outlawed only outlaws will do repairs."
-- Harry Tuttle (Robert DeNiro) in Brazil.




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



kernel panic: swapon

2000-05-01 Thread Scott Flatman

Cvsup'ed this morning and built world. All went swimmingly until
reboot. I got this kernel panic:

swapon: adding /dev/da0s2b as swap device
panic: blst_radix_free: freeing free block

The ordering of the swap partions does matter. If /dev/da0s2b is first
in /etc/fstab the panic occurs, if it's second no panic.


=== swapinfo ===
Device  1024-blocks UsedAvail Capacity  Type
/dev/rda2s2b 2569120   256912 0%Interleaved
/dev/da0s2b  2569120   256912 0%Interleaved
Total5138240   513824 0%


=== /etc/fstab ===
# DeviceMountpoint  FStype  Option  Dump Pass#
#/dev/da0s2bnoneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da0s4e /usrufs rw  2   2
/dev/da0s3e /varufs rw  2   2

/dev/da1s1a /u1 ufs rw  2   2

/dev/da2s2b noneswapsw  0   0
/dev/da2s1a /u2 ufs rw  2   2

/dev/cd0c   /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0

/dev/da0s2b noneswapsw  0   0

#mount -t mfs -o rw,-s131072 /dev/da0s2b /tmp
/dev/da0s2b /tmpmfs rw,-s131072 0   0


=== dmesg ===
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #9: Mon May  1 10:30:11 PDT 2000
sf@mephistopheles:/u2/src/sys/compile/MEPHISTOPHELES
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024690 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2

Features=0x183f9ff
real memory  = 268419072 (262128K bytes)
avail memory = 257847296 (251804K bytes)
Preloaded elf kernel "kernel" at 0xc0318000.
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c09da (c9da)
VESA: S3 Incorporated. Trio64V+
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
isab0:  at device 4.0 on pci0
isa0:  on isab0
pci0:  at 4.1
pci0:  at 4.2
intpm0:  port 0xe800-0xe80f irq
9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision -1072247040
smbus0:  on intsmb0
smb0:  on smbus0
intpm0: PM I/O mapped e400 
ed0:  port 0xd000-0xd01f irq 7 at
device 9.0 on pci0
ed0: address 00:00:06:00:0a:79, type NE2000 (16 bit) 
sym0: <875> port 0xb800-0xb8ff mem
0xe280-0xe2800fff,0xe300-0xe3ff irq 14 at device 10.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
rl0:  port 0xb400-0xb4ff mem
0xe200-0xe2ff irq 15 at device 11.0 on pci0
rl0: Ethernet address: 00:e0:29:61:2f:f6
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  at 12.0 irq 10
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
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
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
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
unknown0:  at iomem
0-0x9,0x10-0xfff,0xe8000-0xe,0xf-0xf3fff,0xf4000-0xf7fff,0xf8000-0xf,0xca000-0xcbfff,0xfffe-0x
on isa0
unknown:  can't assign resources
unknown1:  at port 0x40-0x43 irq 0 on isa0
unknown2:  at port 0x70-0x71 irq 8 on isa0
unknown:  can't assign resources
unknown3:  at port 0xf0 irq 13 on isa0
unknown4:  at port 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on
isa0
unknown5:  at port 0x61 on isa0
unknown6:  at port 0xcf8-0xcff on isa0
unknown:  can't assign resources
esscontrol0:  at port 0x800-0x807 on isa0
sbc0:  at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq
1,0 on isa0
pcm0:  on sbc0
unknown7:  at port 0x201 on isa0
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
cd0 at sym0 bus 0 target 3 lun 0
cd0:  Removable CD-ROM SCSI-2 device 
cd0: 5.681MB/s transfers (5.681MHz, offset 15)
cd0: cd present [68537 x 2048 byte records]
da2 at sym0 bus 0 target 4 lun 0
da2:  Fixed Direct Access SCSI-2 device 
da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da0

kernel compile error

2000-05-24 Thread Scott Flatman

Cvsupped this morning. Got this error when trying to build a kernel:

cc -c -x assembler-with-cpp -DLOCORE -O -pipe -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
-mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s
{standard input}: Assembler messages:
{standard input}:772: Error: operands given don't match any known 386
instruction
{standard input}:837: Error: operands given don't match any known 386
instruction
*** Error code 1


Scott
---
fsck the fscking fsckers.




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



Re: kernel compile error

2000-05-24 Thread Scott Flatman

I've done that twice. Buildworld failed both times. My last sucessful
buildworld was last sunday, 5/21.

Scott

On Wed, 24 May 2000, Maxim Sobolev wrote:

> Scott Flatman wrote:
> 
> > Cvsupped this morning. Got this error when trying to build a kernel:
> >
> > {standard input}:837: Error: operands given don't match any known 386
> 
> It is due to the fact that you need nevest set of binutils for kernel builds.
> The best way to get it is to do "make world" using freshly cvsup'ed sources.
> 
> Someone should mention this in the src/UPDATING!!!
> 
> -Maxim
> 
> 
> 
> 
> 
> 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



Re: kernel compile error

2000-05-24 Thread Scott Flatman

Okey dokey. I'll give it another whirl this afternoon.

Thanks.

Scott

On Wed, 24 May 2000, Maxim Sobolev wrote:

> Scott Flatman wrote:
> 
> > I've done that twice. Buildworld failed both times. My last sucessful
> > buildworld was last sunday, 5/21.
> 
> I know that because I can't build it during past 3 days too. Please be patient,
> someone will definitely fix somwhere in future ;-).
> 
> -Maxim
> 
> 
> 
> 



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



Re: kernel compile error

2000-05-24 Thread Scott Flatman

Just finished up a buildworld/installworld to try and get the
freshest binutil bits. Worked out fine. I supped around 22:15 UTC.

Upon making a kernel I'm getting a different error. This time a header
is missing or misplaced? Here's the error:


===> ipfilter
cc -O -pipe -DIPFILTER_LKM -DIPFILTER_LOG  -D_KERNEL -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
-I@/../include  -mpreferred-stack-boundary=2 -c
/u2/src/sys/modules/ipfilter/../../netinet/ip_log.c
/u2/src/sys/modules/ipfilter/../../netinet/ip_log.c:24: osreldate.h: No
such file or directory
In file included from
/u2/src/sys/modules/ipfilter/../../netinet/ip_log.c:107:
@/netinet/ip_fil.h:534: warning: redundant redeclaration of `send_reset'
in same scope
@/netinet/ip_fil.h:511: warning: previous declaration of `send_reset'
@/netinet/ip_fil.h:535: warning: redundant redeclaration of
`send_icmp_err' in same scope
@/netinet/ip_fil.h:510: warning: previous declaration of `send_icmp_err'
*** Error code 1


On Wed, 24 May 2000, John Baldwin wrote:

> 
> On 24-May-00 Scott Flatman wrote:
> > I've done that twice. Buildworld failed both times. My last sucessful
> > buildworld was last sunday, 5/21.
> 
> It is fixed now.  cvsup and try again, please.
> 
> > Scott
> > 
> > On Wed, 24 May 2000, Maxim Sobolev wrote:
> > 
> >> Scott Flatman wrote:
> >> 
> >> > Cvsupped this morning. Got this error when trying to build a kernel:
> >> >
> >> > {standard input}:837: Error: operands given don't match any known 386
> >> 
> >> It is due to the fact that you need nevest set of binutils for kernel builds.
> >> The best way to get it is to do "make world" using freshly cvsup'ed sources.
> >> 
> >> Someone should mention this in the src/UPDATING!!!
> >> 
> >> -Maxim
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 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
> 
> -- 
> 
> John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
> PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
> 
> 



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



Re: dc driver and underruns (was: Strangeness with 4.0-S)

2000-07-13 Thread Scott Flatman

On Fri, 14 Jul 2000, Stephen McKay wrote:

> place.  I suspect an interaction between the ATA driver and VIA chipsets,
> because other than the network, that's all that is operating when I see
> the underruns.  And my Celeron with a ZX chipset is immune.

I've noticed this on a VIA chipset machine. It also has ATA drives.
It's running 5.0-current from 7/10. I have an HX chipset machine
running -current from 7/10, same card, ATA drives, no error. A BX
chipset machine running -current cooked today, same card, SCSI drives,
no error.

Just a few more data points.

Scott



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



Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking

2000-07-28 Thread Scott Flatman

On Fri, 28 Jul 2000, Brian Fundakowski Feldman wrote:

> I havne't been able to reproduce this, but this case is going to have
> more to do with analysis of the code than with "debugging", I think.
> By chance are you running with softupdates enabled on /?  If I can
> reproduce it here, I will spend a while inspecting all the state to
> figure this one out as best as possible.

I get the same panic 100% of the time upon reboot. So I can quite
easily reproduce it. :)

I tried turning off softupdates on all partitions. Same panic. It also
caused umount to hang the machine. I don't have softupdates on / either
way.

I rebuilt a kernel today, about 1 hour ago. Still panics either way, with
or without softupdates.

Scott



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



make world breakage

2000-08-04 Thread Scott Flatman

Fresh bits supped this morning:

In file included from
/u1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/mdebugread.c:2774:
/u1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/partial-stab.h:268: macro
`START_PSYMTAB' used with too many (7) args
mkdep: compile failed
*** Error code 1


Scott




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