Re: kernel hangs with SMP/Hyperthreading

2003-10-30 Thread supraexpress
Interrupting the normal boot sequence as suggested below has not worked
in the past for this problem.

Inserting debug statements in the source code (as noted in a PR, but I
can't remember which one) in the while (read_intr_count(8)  6) loop
showed that the count value started at 0 and never changed, thereby
initiating an infinite NOP loop.

A later change in 5.1 source magically corrected this, somewhere around
August 2003, for one MSI board that encountered this problem.


On 28 Oct, Scott Long wrote:
 
 Hi,
 
 There is a discussion going on about strange interactions between the boot
 menu and SMP that sounds very much like what you describe.  FOr a
 workaround, at the boot menu, select option 6, then type 'boot' at the
 prompt.
 
 Scott
 
 On Tue, 28 Oct 2003, Bernhard Valenti wrote:
 
 hi,

 i built a kernel with APIC_IO and SMP for my p4 with hyperthreading.
 when i try to boot the kernel it hangs during boot at:

 APIC_IO: Testing 8254 interrupt delivery

 doing

 while (read_intr_count(8)  6)
  ;   /* nothing */

 (sys/i386/isa/clock.c:1030)

 read_intr_count(8) returns 0 forever...

 i dont know how to provide a dmesg as i cant get to a shell. this
 computer is a laptop with sis 645dx chipset.

 anyone have a fix for that?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


rsh commands to 5.1-CURRENT being rejected

2003-09-14 Thread supraexpress
Sep 14 17:46:52 local7.notice target logger: TCP_Wrappers ALLOW: 
source/target,rshd,974,[EMAIL PROTECTED]
Sep 14 17:46:52 auth.info target inetd[974]: connection from source, service rshd 
(tcp)
Sep 14 17:46:52 auth.info target rshd[974]: [EMAIL PROTECTED] as root: permission 
denied (authentication error). cmd='date'

/root/.rhosts (600): source root

/etc/pam.d/rsh: not changed

/etc/inetd.conf: 
  shell   stream  tcp nowait  root /usr/libexec/rshd   rshd -L

/etc/hosts: both source and target are defined

/etc/named/s/: both source and target are defined

5.1-CURRENT: Wednesday, 20 August 2003 20:36:05


Under FBSD-4.8, this is not a problem. Under FBSD-5.1, nothing I do
seems to allow rsh from another LAN host.

A TCPDUMP of the rsh session shows root.root.command coming from
source and then permission denied coming from target, where the
TCPDUMP is running. The source host displays: rshd: Login
incorrect.. RSH from target to source works just fine?!?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rsh commands to 5.1-CURRENT being rejected

2003-09-14 Thread supraexpress
Yes - rsh target, after enabling login/rlogind ;), gives me a shell
on target. Even after enabling login/rlogind, rsh target command
still fails as outlined below.


On 14 Sep, David Rhodus wrote:
 
 On Sunday, September 14, 2003, at 07:29 PM, [EMAIL PROTECTED] 
 wrote:
 
 Sep 14 17:46:52 local7.notice target logger: TCP_Wrappers ALLOW: 
 source/target,rshd,974,[EMAIL PROTECTED]
 Sep 14 17:46:52 auth.info target inetd[974]: connection from source, 
 service rshd (tcp)
 Sep 14 17:46:52 auth.info target rshd[974]: [EMAIL PROTECTED] as root: 
 permission denied (authentication error). cmd='date'
 
 What happens if you type in rsh target ?
 Does that then give you a shell ?
 
 
 -DR
 

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


Re: Entropy harvesting: interrupts ethernet point_to_point

2003-09-04 Thread supraexpress
I have never had a problem with sysctl -a on any desktop system that I
have had (Dell, Gateway, custom).



On  4 Sep, Mark Murray wrote:
 Doug Barton writes:
 I've seen this problem on my compaq evo n610c as well, but didn't
 realize it was affecting other hardware as well. I tried to stir up
 interest in getting the acpi problem fixed, but wasn't successful.
 
 Hmmm :-(
 
 Mark, ok with you if I nuke the sysctl -a line in rc.d/initrandom? I
 hate to lose that source (no matter how small), but if the can't finish
 sysctl -a cancer is spreading...
 
 I'd really rather see sysctl fixed, rather than weakening Innocent
 Bystanders, but I'm not going to force this issue. So, reluctantly,
 yes, if you can't find a better place to hack a fix.
 
 M
 --
 Mark Murray
 iumop ap!sdn w,I idlaH
 ___
 [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-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Spurious ACPI-1287 ... Method execution failed ... messages

2003-09-01 Thread supraexpress
With a relatively current CURRENT on an MSI 875P-Neo (MS-6758)
motherboard, I see the following spurious about ACPI-1287... messages,
but this does not seem to affect the system boot or anything else.


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-CURRENT #0: Wed Aug 20 20:36:05 CDT 2003
Preloaded elf kernel /boot/kernel/kernel at 0xc088f000.
Preloaded elf module /boot/kernel/linux.ko at 0xc088f244.
Preloaded elf module /boot/kernel/snd_emu10k1.ko at 0xc088f2f0.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc088f3a0.
Preloaded elf module /boot/kernel/snd_ich.ko at 0xc088f44c.
Preloaded elf module /boot/kernel/nvidia.ko at 0xc088f4f8.
Preloaded elf module /boot/kernel/acpi.ko at 0xc088f5a4.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3207.28-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1023 MB)
avail memory = 1033912320 (986 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT INTEL875 on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f7680
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 
0xc25b97c0), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 
0xc25b96c0), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 
0xc25b96c0), AE_AML_REGION_LIMIT
can't fetch resources for \\_SB_.PCI0 - AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 
0xc25b97c0), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 
0xc65a00c0), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 
0xc65a00c0), AE_AML_REGION_LIMIT
can't fetch resources for \\_SB_.MEM_ - AE_AML_REGION_LIMIT
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
IOAPIC #0 intpin 16 - irq 2
IOAPIC #0 intpin 19 - irq 5
IOAPIC #0 intpin 18 - irq 10
IOAPIC #0 intpin 23 - irq 11
IOAPIC #0 intpin 17 - irq 16
agp0: Intel 82875P host to AGP bridge mem 0xf000-0xf7ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
.
.
.
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
 
Timecounters tick every 10.000 msec
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
.
.
.
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da2s1a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup failing with ASSERT failed

2003-08-28 Thread supraexpress
Ummm, well, when you have a hidden ELF who keeps multiplying all of those
ridiculus numbers by 10, of course!  ;)

It should have been 2GB - oh well.


On 27 Aug, Peter Jeremy wrote:
 On Tue, Aug 26, 2003 at 11:02:08PM -0500, [EMAIL PROTECTED] wrote:
A couple of times, now, on both FBSD-5.1-CURRENT and FBSD-4.8-STABLE whilst 
running with 2MB of RAM, cvsup has croaked with the following error:
 
 Out of interest, how do you get either 4.x or 5.x to run in 2MB?  I
 found running 2.x in 4MB was painful and my 4.x kernel is more than 2MB.
 
 Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IDE DVD playback on 5.1-CURRENT

2003-08-28 Thread supraexpress
You might also want/need to change/define a local mplayer configuration
ala:

/home/.../.mplayer/gui.conf


where you can change the runtime configuration paramaters such as:

ao_driver = oss:/dev/dsp1
ao_volnorm = no
ao_surround = no
ao_extra_stereo = no
ao_extra_stereo_coefficient = 1.00
ao_oss_mixer = /dev/mixer
ao_oss_device = /dev/dsp1
dvd_device = /dev/acd0c
cdrom_device = /dev/cdrom

using/choosing a different dvd_device and/or ao_oss_device/ao_driver. I
have had to change these variables going from 4.8 to 5.1 as different IDE
hardware was or was not recognized.



On 27 Aug, Daniel C. Sobral wrote:
 Ian Freislich wrote:
 Adam K Kirchhoff wrote:
 
I've asked this same question on freebsd-questions an on #freebsd
(freenode), but haven't gotten any answer, so I thought I'd ask on here.

I'm hoping someone can help me out here.

I recently moved a firewire card and DVD drive that had been in my FreeBSD
box to another computer.  I replaced it with an IDE DVD drive.  The
probelm is that now I can't get mplayer or vlc to play any DVDs that had
previously worked with the firewire drive.

I have, of course, made sure that /dev/dvd is a symbolic link to /dev/acd0
instead of /dev/cd0 (as it used to be).  The only difference that I can
think of is that FreeBSD sees the firewire drive as a scsi drive and sees
the ide drive as an ide drive.
 
 
 Have you tried (from mplayer's man page):
 
  -dvd-device path to device
Override default DVD device name /dev/dvd.
 
 Actually, I recall some player on which you just had to mount the dvd, 
 and them point them at the path where the dvd was mounted.

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


cvsup failing with ASSERT failed

2003-08-27 Thread supraexpress
A couple of times, now, on both FBSD-5.1-CURRENT and FBSD-4.8-STABLE whilst 
running with 2MB of RAM, cvsup has croaked with the following error:

***
*** runtime error:
***ASSERT failed
***file /usr/ports/lang/ezm3/work/ezm3-1.0/libs/m3core/src/runtime/
common/RTHeapMap.m3, line 35
***
   use option @M3stackdump to get a stack trace
Abort trap (core dumped)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]