USB CDRW, more or less solved

2005-01-06 Thread Alex Povolotsky
Hello!

I've patched usbdevs and umass.c so 5.3-RELEASE works with ACER external
CDRW; with ehci, I've managed to record CDs at 40x speed or so.

Where should I submit the patch?

And, just curious, why AOPEN device get 0x04b4 vendor id, which is
marked CYPRESS in usbdevs?

-- 
Alex Povolotsky [EMAIL PROTECTED]


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


Re: netstat fails with memory allocation error and error in kvm_read

2005-01-06 Thread J. Martin Petersen
Max Laier wrote:
On Wednesday 05 January 2005 18:26, J. Martin Petersen wrote:
 

We just had another hard hang, and this time I managed to break to the
debugger on the serial console. I got this stack trace
http://www.aub.dk/~jmp/fw/trace, which seems to indicate that pf is
messing up somehow.
   

This looks like pf.c, rev. 1.25 (HEAD) 1.18.2.6 (RELENG_5) and is an endless 
loop, not a deadlock. 
 

My bad.
I hope you can verify that updating to these revisions 
solves the issue. Please get back to me if not. Thanks in advance.
 

I'm checking sys/contrib/pf out from the releng_5 branch and will 
compile a new kernel. I'll get back to you if that doesn't help.

Thanks for the help
Martin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


ng_ubt with Broadcom BCM92035DGL

2005-01-06 Thread Ronald Klop
Hello,
I have a USB Bluetooth adapter which probes fine as ubt0, but I get errors  
when trying to use bluetooth.
Attached is my verbose dmesg output. I've read the handbook about  
bluetooth and searched the internet for it.
The errors I get are these.

# /etc/rc.bluetooth start ubt0
Status: Command disallowed [0xc]
# /etc/rc.bluetooth start ubt0
Could not execute command reset. Operation timed out
What information can I provide to resolve this. Or is there a better  
mailinglist for this?
The usb-adapter is the shop-brand of the MyCom shops in The Netherlands.

Ronald.
--
 Ronald Klop, Amsterdam, The Netherlands
Copyright (c) 1992-2005 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.3-STABLE #62: Tue Jan  4 00:33:21 CET 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAPTOP
Preloaded elf kernel /boot/kernel/kernel at 0xc06dd000.
Preloaded elf module /boot/kernel/linprocfs.ko at 0xc06dd1a4.
Preloaded elf module /boot/kernel/linux.ko at 0xc06dd254.
Preloaded elf module /boot/kernel/g_md.ko at 0xc06dd300.
Preloaded elf module /boot/kernel/if_tun.ko at 0xc06dd3ac.
Preloaded elf module /boot/kernel/if_ep.ko at 0xc06dd458.
Preloaded elf module /boot/kernel/elink.ko at 0xc06dd504.
Preloaded elf module /boot/kernel/snd_ess.ko at 0xc06dd5b0.
Preloaded elf module /boot/kernel/sound.ko at 0xc06dd65c.
Preloaded elf module /boot/kernel/snd_sbc.ko at 0xc06dd708.
Preloaded elf module /boot/kernel/mem.ko at 0xc06dd7b4.
Preloaded elf module /boot/kernel/io.ko at 0xc06dd85c.
Calibrating clock(s) ... i8254 clock: 1193310 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 266677167 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 100622336 (95 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00826000 - 0x05e15fff, 90112000 bytes (22000 pages)
avail memory = 93024256 (88 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fa000
bios32: Entry = 0xf (c00f)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf+0x474
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f:4ef2  Rev = 1.0
pnpbios: Event flag at fe2f6
pnpbios: OEM ID b9b0110e
Other BIOS signatures found:
random: entropy source, Software, Yarrow
null: null device, zero device
mem: memory
Pentium Pro MTRR support enabled
io: I/O
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pci_open(1):mode 1 addr port (0x0cf8) is 0x8060
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=80] is there (id=ae6c0e11)
pcibios: BIOS version 2.10
Found $PIR table, 7 entries at 0xc00f0990
PCI-Only Interrupts: 11
Location  Bus Device Pin  Link  IRQs
embedded00A   0x0d  9 10 11
embedded0   12A   0x0c  9 10 11
embedded0   14A   0x01  9 10 11
embedded0   16A   0x19  9 10 11
embedded0   16B   0x19  9 10 11
embedded0   10A   0x18  9 10 11
slot 11 09A   0x15  9 10 11
slot 11 09B   0x14  9 10 11
slot 11 09C   0x15  9 10 11
slot 11 09D   0x14  9 10 11
slot 12 08A   0x17  9 10 11
slot 12 08B   0x16  9 10 11
slot 12 08C   0x17  9 10 11
slot 12 08D   0x16  9 10 11
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 7 Entries on motherboard
$PIR: Links after initial probe:
Link  IRQ  Rtd  Ref  IRQs
 0xd  255   N 1  9 10 11
 0xc  255   N 1  9 10 11
 0x1  255   N 1  9 10 11
0x19  255   N 2  9 10 11
0x18  255   N 1  9 10 11
0x15  255   N 2  9 10 11
0x14  255   N 2  9 10 11
0x17  255   N 2  9 10 11
0x16  255   N 2  9 10 11
$PIR: Found matching pin for 0.12.INTA at func 0: 11
$PIR: Found matching pin for 0.14.INTA at func 1: 255
$PIR: Found matching pin for 0.14.INTA at func 2: 11
$PIR: Links after initial IRQ discovery:
Link  IRQ  Rtd  Ref  IRQs
 0xd  255   N 1  9 10 11
 0xc   11   Y 1  9 10 11
 0x1   11   Y 1  9 10 11
0x19  255   N 2  9 10 11
0x18  255   N 1  9 10 11
0x15  255   N 2  9 10 11
0x14  255   N 2  9 10 11
0x17  255   N 2  9 10 11
0x16  255   N 2  9 10 11
$PIR: IRQs used by BIOS: 11
$PIR: Interrupt Weights:
[0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15 ]
[0   0   0   0   0   0   0   0   0   0   0   2   0   0   0   0 ]
pci0: PCI bus on pcib0
pci0: physical bus=0
map[10]: type 3, range 32, base 5000, 

[no subject]

2005-01-06 Thread Leo De Geer
Password [EMAIL PROTECTED]

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


copying from DVD drive causes crash: vm_fault: pager read error, pid 13421 (cp) on FreeBSD 5.3-STABLE

2005-01-06 Thread O. Hartmann
Doing dd from the DVD drive (NEC ND 3500AG/2.18) fails in a corrupt 
image afterwards, copying with 'cp' from a inserted CD triggers the 
shown error and box dies immediately:

Jan  6 12:17:20 edda kernel: cd9660: RockRidge Extension
Jan  6 12:17:50 edda kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST 
asc=0x64 ascq=0x00 error=4ABORTED
Jan  6 12:18:07 edda last message repeated 3 times
Jan  6 12:29:44 edda kernel: cd9660: RockRidge Extension
Jan  6 12:30:54 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:54 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:30:58 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:58 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:01 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:01 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:08 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:08 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:19 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR 
asc=0x11 ascq=0x00 error=4A

Same happens when trying to to a 'tar ztf file.foo' (tar archive located 
on DVD) - FreeBSD dies and freezes immediately.

Box is a FreeBSD 5.3-STABLE box (cvsupdated and builtworld today). 
Hardware is a ASUS CUR-DLS based mainboard, SMP disabled, dmesg shown here:
Copyright (c) 1992-2005 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.3-STABLE #23: Thu Jan  6 09:45:18 UTC 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDDA
ACPI APIC Table: ASUS   CUR-DLS 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (1000.04-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x686  Stepping = 6
 
Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 1073721344 (1023 MB)
avail memory = 1041166336 (992 MB)
ioapic0 Version 1.1 irqs 0-15 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
netsmb_dev: loaded
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS CUR-DLS on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: display, VGA at device 7.0 (no driver attached)
isab0: PCI-ISA bridge port 0xe800-0xe80f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 UDMA33 controller port 
0xd400-0xd40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device
15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfc00-0xfc000fff irq 9 
at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller 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
ugen0: OmniVision OV511+ Camera, rev 1.00/1.00, addr 2
pcib1: ACPI Host-PCI bridge on acpi0
pci1: ACPI PCI bus on pcib1
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 
0xd000-0xd03f mem 0xfb80-0xfb81 irq 2
1 at device 2.0 on pci1
em0: Ethernet address: 00:07:e9:14:8f:7b
em0:  Speed:N/A  Duplex:N/A
sym0: 1010-33 port 0xb800-0xb8ff mem 
0xfa80-0xfa801fff,0xfb00-0xfb0003ff irq 24 at device 5.0 on pci1
sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym0: [GIANT-LOCKED]
sym1: 1010-33 port 0xb400-0xb4ff mem 
0xf980-0xf9801fff,0xfa00-0xfa0003ff irq 25 at device 5.1 on pci1
sym1: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
sym1: [GIANT-LOCKED]
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77a,0x378-0x37f irq 7 drq 
3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
fdc0: floppy drive 

Re: copying from DVD drive causes crash: vm_fault: pager read error, pid 13421 (cp) on FreeBSD 5.3-STABLE

2005-01-06 Thread Daniel O'Connor
On Thu, 6 Jan 2005 23:16, O. Hartmann wrote:
 Doing dd from the DVD drive (NEC ND 3500AG/2.18) fails in a corrupt
 image afterwards, copying with 'cp' from a inserted CD triggers the
 shown error and box dies immediately:


 Jan  6 12:17:20 edda kernel: cd9660: RockRidge Extension
 Jan  6 12:17:50 edda kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
 asc=0x64 ascq=0x00 error=4ABORTED
 Jan  6 12:18:07 edda last message repeated 3 times
 Jan  6 12:29:44 edda kernel: cd9660: RockRidge Extension
 Jan  6 12:30:54 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
 asc=0x11 ascq=0x00 error=4ABORTED
 Jan  6 12:30:54 edda kernel: vm_fault: pager read error, pid 13421 (cp)
 Jan  6 12:30:58 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
 asc=0x11 ascq=0x00 error=4ABORTED
 Jan  6 12:30:58 edda kernel: vm_fault: pager read error, pid 13421 (cp)
 Jan  6 12:31:01 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
 asc=0x11 ascq=0x00 error=4ABORTED
 Jan  6 12:31:01 edda kernel: vm_fault: pager read error, pid 13421 (cp)
 Jan  6 12:31:08 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
 asc=0x11 ascq=0x00 error=4ABORTED
 Jan  6 12:31:08 edda kernel: vm_fault: pager read error, pid 13421 (cp)
 Jan  6 12:31:19 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
 asc=0x11 ascq=0x00 error=4A

 Same happens when trying to to a 'tar ztf file.foo' (tar archive located
 on DVD) - FreeBSD dies and freezes immediately.

Does it panic or hang?

The DVD has errors on it which is why you can't read it.. Obviously the OS 
crashing when presented with bad media is not a good thing :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpqqlJTCi9by.pgp
Description: PGP signature


Re: unstable 5.3 boxes

2005-01-06 Thread Robert Watson
On Thu, 6 Jan 2005, Mike Tancsa wrote:

 At 06:29 PM 05/01/2005, Mitch Parks wrote:
 It seems both my test and production boxes are not stable with 
 5.3-Release. I'm hoping for some insight in how to make at least the 
 production box not crash.
 The crashes have been at different times of the day and I've found no 
 suspicious log activity. At the moment it's been 9 days since the last 
 crash, but it has also crashed in less than a day. ACPI and HT have always 
 been enabled on this box without problems.
 
 I would update to RELENG_5 and disable in the BIOS HTT.  HTT for the
 most part works against you with the current scheduler and seems to add
 more instability.  But there have been quite a few fixes in RELENG_5
 that you might benefit from. 

FYI, I had something of an odd surprise recently (about two weeks ago) 
when I re-benchmarked MySQL between HTT and non-HTT on a dual Xeon and got
a faster result with HTT on 6.x-CURRENT.  I've not yet investigated
sufficiently to figure out why I got that result, or if it's a consistent
result.  It may be the product of recent libpthread changes but I hope to
investigate further in a couple of weeks.  There was a slight regression
in the normal SMP numbers (maybe a couple of percent) but a massive
improvement in HTT...  My first goal will be to identify the source of the
SMP regression, the second to confirm and reason about the HTT change. 

Robert N M Watson


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


mbufs on 5.3-STABLE possible bug

2005-01-06 Thread Chris
Hi

After reading the release notes and upgrading my server's I had set
the following in my /boot/loader.conf.

kern.ipc.nmbclusters=0

This is supposed to make the limit to unlimited as I understood from
the docs, but a user on one of my server's reported slow download
speeds he was testing with wget and fetch, so we compared with another
FreeBSD server (5.2.1) on the same network and sure enough there was a
massive difference (45mbit on the other server 5mbit on mine), I spent
ages checking all my tweaks and changes I made comparing between the 2
server's and ended up checking my loader.conf and tried setting a
value and leaving it as auto, both of these changes fixed the download
speed issue but setting to 0 introduces the problem.

Has anyone else noticed this?

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


Re: copying from DVD drive causes crash: vm_fault: pager readerror, pid 13421 (cp) on FreeBSD 5.3-STABLE

2005-01-06 Thread O. Hartmann
Daniel O'Connor schrieb:
On Thu, 6 Jan 2005 23:16, O. Hartmann wrote:
 

Doing dd from the DVD drive (NEC ND 3500AG/2.18) fails in a corrupt
image afterwards, copying with 'cp' from a inserted CD triggers the
shown error and box dies immediately:
Jan  6 12:17:20 edda kernel: cd9660: RockRidge Extension
Jan  6 12:17:50 edda kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=4ABORTED
Jan  6 12:18:07 edda last message repeated 3 times
Jan  6 12:29:44 edda kernel: cd9660: RockRidge Extension
Jan  6 12:30:54 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:54 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:30:58 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:30:58 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:01 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:01 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:08 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4ABORTED
Jan  6 12:31:08 edda kernel: vm_fault: pager read error, pid 13421 (cp)
Jan  6 12:31:19 edda kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR
asc=0x11 ascq=0x00 error=4A
Same happens when trying to to a 'tar ztf file.foo' (tar archive located
on DVD) - FreeBSD dies and freezes immediately.
   

Does it panic or hang?
The DVD has errors on it which is why you can't read it.. Obviously the OS 
crashing when presented with bad media is not a good thing :)

 

The box hang.
The media is all right, I tried it on a FreeBSD 4.10 box and a Windows 
box (equipted with the
same DVD-RW drive, running on a different hardware platform).

Writing 'clear' images to the drive results in corrupted media, either 
DVD and/or CD-R/W.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Instant reboots with CPUTYPE=pentium-m

2005-01-06 Thread Chris
I use the athlon-xp switch on 3 boxes with no problems all of them running 5.3


On Wed, 05 Jan 2005 22:00:04 +0100, Bartosz Fabianowski
[EMAIL PROTECTED] wrote:
 Hi list,
 
 I am still having the problems with instant reboots that I reported [1]
 a couple of weeks ago. I have a bit more info now and hope that someone
 can lead me in the right direction.
 
 The problem is that setting CPUTYPE=pentium-m in make.conf leads to a
 corrupt boot loader and a corrupt kernel being generated. This setting
 for the CPUTYPE has been available on -STABLE since 16th December, when
 revision 1.40.2.1 of bsd.cpu.mk was committed. I have traced the start
 of my problems to that exact commit (the commiter is CC'd).
 
 On -current, the setting has been available for a longer time and has
 led to the same problems for some people. Also, it seems that not only
 pentium-m is broken, but athlon-xp as well. The end of a thread on the
 -current mailing list discussing this issue is in [2]. Unfortunately, it
 provides no insight as to where the problem lies.
 
 It seems to me that every other part of the world, including GCC itself,
 is built correctly when CPUTYPE is set to pentium-m. The issue only
 affects the boot loader and the kernel for some reason.
 
 When I changed the CPUTYPE from pentium-m down to pentium3 (essentially
 just disabling SSE2) and recompiled the boot loader, I instantly got a
 working loader again. I have attached a diff of the .s files generated
 for the loader with CPUTYPE=pentium3 and CPUTYPE=pentium-m. I do not see
 any real changes except for the use of xmm registers when
 CPUTYPE=pentium-m is set.
 
 Does anybody have an idea how to debug this further? I am totally out of
 ideas and really do not know where to continue looking. I have some time
 on my hands to go searching for the bug - all I need is some direction.
 
 - Bartosz
 
 [1]
 http://lists.freebsd.org/pipermail/freebsd-stable/2004-December/010594.html
 [2]
 http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042127.html
 
 
 diff -u loader_dir_p3/bcache.s loader_dir_pm/bcache.s
 --- loader_dir_p3/bcache.s  Wed Jan  5 21:56:29 2005
 +++ loader_dir_pm/bcache.s  Wed Jan  5 21:56:29 2005
 @@ -684,7 +684,7 @@
pushl   %edi
pushl   %esi
pushl   %ebx
 -   subl$36, %esp
 +   subl$28, %esp
movl12(%ebp), %ebx
movl16(%ebp), %esi
leal-16(%ebp), %eax
 @@ -692,21 +692,19 @@
calltime
movl$0, -20(%ebp)
movlbcache_ctl, %eax
 -   movl12(%eax), %eax
 -   movl%eax, -24(%ebp)
 +   movd12(%eax), %xmm0
movl$1, %ecx
cmplbcache_nblks, %ecx
jae .L99
 -   movlbcache_ctl, %eax
 -   movl%eax, -36(%ebp)
 -   movl%eax, -28(%ebp)
 -   movlbcache_nblks, %eax
 -   movl%eax, -32(%ebp)
 +   movd%eax, %xmm1
 +   movl%eax, -24(%ebp)
 +   movlbcache_nblks, %edi
 +   movl%edi, -28(%ebp)
.p2align 4,,15
 .L103:
movl%ecx, %eax
sall$4, %eax
 -   movl-36(%ebp), %edi
 +   movd%xmm1, %edi
movl4(%eax,%edi), %edx
xorl%esi, %edx
movl(%eax,%edi), %eax
 @@ -717,18 +715,17 @@
jmp .L99
.p2align 4,,7
 .L101:
 -   movl-28(%ebp), %edx
 +   movl-24(%ebp), %edx
movl%ecx, %eax
sall$4, %eax
 -   movl-24(%ebp), %edi
 +   movd%xmm0, %edi
cmpl%edi, 12(%eax,%edx)
jge .L100
 -   movl12(%eax,%edx), %eax
 -   movl%eax, -24(%ebp)
 +   movd12(%eax,%edx), %xmm0
movl%ecx, -20(%ebp)
 .L100:
incl%ecx
 -   cmpl-32(%ebp), %ecx
 +   cmpl-28(%ebp), %ecx
jb  .L103
 .L99:
movlbcache_blksize, %eax
 @@ -753,7 +750,7 @@
movl%eax, bcache_bcount
movlbcache_ctl, %eax
movl%edx, 12(%ecx,%eax)
 -   addl$36, %esp
 +   addl$28, %esp
popl%ebx
popl%esi
popl%edi
 diff -u loader_dir_p3/interp_backslash.s loader_dir_pm/interp_backslash.s
 --- loader_dir_p3/interp_backslash.sWed Jan  5 21:56:29 2005
 +++ loader_dir_pm/interp_backslash.sWed Jan  5 21:56:29 2005
 @@ -12,7 +12,7 @@
pushl   %edi
pushl   %esi
pushl   %ebx
 -   subl$32, %esp
 +   subl$28, %esp
movl8(%ebp), %ebx
movl$0, %edi
movl$0, %esi
 @@ -211,39 +211,39 @@
subl$55, %eax
sall$6, %eax
 .L31:
 -   movl%eax, -24(%ebp)
 +   movd%eax, %xmm0
movsbl  1(%ebx),%eax
leal-48(%eax), %edx
 -   movl%edx, -40(%ebp)
 -   movl-24(%ebp), %edx
 +   movl%edx, -36(%ebp)
 +   movd%xmm0, %edx
leal-384(%edx,%eax,8), %eax
 -   cmpl$9, -40(%ebp)
 +   cmpl$9, -36(%ebp)
jbe 

ATI Rage Pro xorg-6.8.1 freebsd 5.3

2005-01-06 Thread jag
Hello,
Is there anyone running this combination successfully.
It has given me different errors a different times and
presently it gives (EE) R128: DFP no detected.

The same card works ok in FreeBSD 5.2.1

Thanks for your help

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI Rage Pro xorg-6.8.1 freebsd 5.3

2005-01-06 Thread Godwin Stewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 6 Jan 2005 08:08:12 -0800 (PST), jag [EMAIL PROTECTED] wrote:

 Is there anyone running this combination successfully.
 It has given me different errors a different times and
 presently it gives (EE) R128: DFP no detected.

It always does.

I've been using a similar card with various flavours of Linux and currently
with FreeBSD 5.3-STABLE/Xorg-6.7 and that error message has always existed
but never prevented the hardware from working correctly.

- -- 
G. Stewart - [EMAIL PROTECTED]

Shin, n. :  a device for finding furniture in the dark.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB3WXIK5oiGLo9AcYRAoOiAJ4xVtYAERcg20vAc13ygxc2R3l9hwCfX3H+
kxn+bGvs+4T0jWoCiTvla2U=
=m/Ts
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xfce4 (4.2-RC3) needs fixing /etc/rc.d/cleartmp

2005-01-06 Thread Rob
Hi,
I'm testing Xfce 4.2-RC3, but it has following problems at startup:
 .xsession-errors
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2
_IceTransMakeAllCOTSServerListeners: failed to create listener for local
xfce4-session: Unable to establish ICE listeners: Cannot establish any 
listening sockets

Then I create /tmp/.ICE-unix, which still does not make Xfce happy:
 .xsession-errors
_IceTransmkdir: ERROR: Mode of /tmp/.ICE-unix must be set to 1777
_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 1
_IceTransMakeAllCOTSServerListeners: failed to create listener for local
xfce4-session: Unable to establish ICE listeners: Cannot establish any 
listening sockets
The patch below from Pawel Worach solves the problem.
Cheers,
Rob.
http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042445.html
Index: etc/rc.d/cleartmp
===
RCS file: /export/ctm/cvs/src/etc/rc.d/cleartmp,v
retrieving revision 1.11
diff -u -r1.11 cleartmp
--- etc/rc.d/cleartmp   7 Oct 2004 13:55:25 -   1.11
+++ etc/rc.d/cleartmp   5 Nov 2004 20:18:12 -
@@ -35,5 +35,5 @@
  # restarting X
  #
  rm -f /tmp/.X[0-9]-lock
-rm -fr /tmp/.X11-unix
-mkdir -m 1777 /tmp/.X11-unix
+rm -fr /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix
+mkdir -m 1777 /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATI Rage Pro xorg-6.8.1 freebsd 5.3

2005-01-06 Thread Jean-Sébastien Pédron
jag wrote:
Hello,
Is there anyone running this combination successfully.
It has given me different errors a different times and
presently it gives (EE) R128: DFP no detected.
The same card works ok in FreeBSD 5.2.1
I don't have any problem with the following config :
- FreeBSD 5.3-STABLE (Dec. 30th, 2004)
- X.org 6.8.1 (driver ati)
- ATI [EMAIL PROTECTED] 8 Mo (Rage Pro)
Jean-Seb


signature.asc
Description: OpenPGP digital signature


Re: Instant reboots with CPUTYPE=pentium-m

2005-01-06 Thread Bartosz Fabianowski
I use the athlon-xp switch on 3 boxes with no problems all of them running 5.3
What CFLAGS are you using? I have CFLAGS=-O -pipe in my make.conf. Maybe 
you have optimization turned off and that's making a difference?

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


Re: uplcom usb to serial adapter broken

2005-01-06 Thread Ryan Falkenberg
usbdevs:
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
 addr 2: PL2303 Serial adapter (ATEN/IOGEAR UC232A), Prolific Technology


dmesg:
Copyright (c) 1992-2005 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.3-STABLE #12: Wed Jan  5 17:45:47 MST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOWMORE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU1066MHz (1063.24-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 393740288 (375 MB)
avail memory = 375545856 (358 MB)
acpi0: PTLTD   RSDT on motherboard
acpi0: Power Button (fixed)
acpi_ec0: Embedded Controller: GPE 0x1c port 0x66,0x62 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU (3 Cx states) on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82830M (830M GMCH) SVGA controller mem
0xe000-0xe007,0xe800-0xefff irq 10 at device 2.0 on
pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: display at device 2.1 (no driver attached)
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x1800-0x181f irq 10 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A 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
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
0x1820-0x183f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801CA/CAM (ICH3) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib1
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x3000-0x307f mem
0xe020-0xe020007f irq 10 at device 1.0 on pci2
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:08:74:39:dc:c1
cbb0: O2Micro OZ6912/6972 PCI-CardBus Bridge irq 10 at device 4.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port
0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pcm0: Intel ICH3 (82801CA) port 0x18c0-0x18ff,0x1c00-0x1cff irq 10
at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: SigmaTel STAC9700/83/84 AC97 Codec
pci0: simple comms at device 31.6 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
acpi_acad0: AC Adapter on acpi0
acpi_cmbat0: Control Method Battery on acpi0
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
orm0: ISA Option ROMs at iomem
0xdc000-0xd,0xd8000-0xdbfff,0xcc800-0xccfff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1063241234 Hz quality 800
Timecounters tick every 1.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 19077MB HITACHI DK23DA-20/00J2A0G0 [38760/16/63] at ata0-master UDMA100
wi0: Lucent Technologies WaveLAN/IEEE at port 0x3080-0x30bf irq 10
function 0 config 1 on pccard0
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.10.1)
wi0: Ethernet address: 00:02:2d:5e:20:34
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ata1-slave: FAILURE - ATAPI_IDENTIFY timed out
ata1-slave: FAILURE - ATAPI_IDENTIFY timed out
ata1-slave: FAILURE - ATAPI_IDENTIFY timed out
acd0: DVDROM HL-DT-STDVD-ROM GDR8081N/0108 at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
Waiting (max 60 seconds) for system process `vnlru' to 

Re: uplcom usb to serial adapter broken

2005-01-06 Thread Ryan Falkenberg
On Thu, 6 Jan 2005 11:21:28 +1100, David Billett
[EMAIL PROTECTED] wrote:
 Hi Ryan,
 
 It must be the season for these or something... I just answered the same
 question over at [EMAIL PROTECTED]
 
 http://marc.theaimsgroup.com/?l=freebsd-questionsm=110494189823566w=2
 
 I'll cut and paste my answer to Stefano here.

I'm new to FreeBSD, for future reference should this type of question
appear on this list or -questions?  For the record I'm running FreeBSD
5.3-STABLE is that considered to be 5.3 or stable?

 Alex's patch cleaned up by Nick Denev:
 http://www.totalterror.com/src/uplcom.c.patch
 
 I don't run 5.3, so I've no idea if it will apply to a 5.3 kernel
 source, but it may point you in the right direction.
 ---
 
 I've just checked the source of sys/dev/usb/uplcom.c for 4.10 and 5.3
 and I think the patch should apply to both. Let me know if it works for
 you.

Thanks, the patch does apply properly but it doesn't seem to help the
problem.  I can still send data but not receive.  Am Installing the
patched drivers properly?  I did a cvsup, deleted all of /usr/obj/,
applied the patch, then followed the buildworld canonical instructions
from the handbook.  Is there a way to only build and install the
uplcom drivers?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Instant reboots with CPUTYPE=pentium-m

2005-01-06 Thread Bartosz Fabianowski
Replying to myself, I have found the problem and filed a but report:
http://www.freebsd.org/cgi/query-pr.cgi?pr=75898
Thanks for all the help everybody,
- Bartosz
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing Man-Pages in RELENG_4

2005-01-06 Thread Igor Pokrovsky
On Wed, Jan 05, 2005 at 05:26:18PM +0100, Michael Schuh wrote:
 Hi,
 
 i miss the manpages for ipf.conf ipnat.conf
 under RELENG_4 last updated 2005-01-05
 via cvsup.

I guess this is because there are no those man pages.

-ip

-- 
The higher the level of prestige accorded the people
behind the plan, the least less chance there is of
abandoning it.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing Man-Pages in RELENG_4

2005-01-06 Thread Igor Pokrovsky
On Wed, Jan 05, 2005 at 05:26:18PM +0100, Michael Schuh wrote:
 Hi,
 
 i miss the manpages for ipf.conf ipnat.conf
 under RELENG_4 last updated 2005-01-05
 via cvsup.

I guess this is because there are no those man pages.

-ip

-- 
The higher the level of prestige accorded the people
behind the plan, the least less chance there is of
abandoning it.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


VIA C3 CPU not recognized

2005-01-06 Thread Lukas Ertl
Hello,

5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately
after the loader with

CPU class not configured

Last known working kernel is from Sun Nov  7 16:27:23 CET 2004, it
recognizes the CPU as

CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU)
  Origin = CentaurHauls  Id = 0x673  Stepping = 3
  Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX

The new kernel says it's an unknown class CPU.  I haven't changed my
kernel config since I built the old kernel, so maybe I have overlooked
some new option for VIA CPUs, but I couldn't find a change at first
glance.

Any ideas?

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


Re: mbufs on 5.3-STABLE possible bug

2005-01-06 Thread Bosko Milekic

Please try the attached patch.  It's not exactly perfect but it might
solve your problem.  Let me know.

-Bosko

On Thu, Jan 06, 2005 at 02:12:33PM +, Chris wrote:
 Hi
 
 After reading the release notes and upgrading my server's I had set
 the following in my /boot/loader.conf.
 
 kern.ipc.nmbclusters=0
 
 This is supposed to make the limit to unlimited as I understood from
 the docs, but a user on one of my server's reported slow download
 speeds he was testing with wget and fetch, so we compared with another
 FreeBSD server (5.2.1) on the same network and sure enough there was a
 massive difference (45mbit on the other server 5mbit on mine), I spent
 ages checking all my tweaks and changes I made comparing between the 2
 server's and ended up checking my loader.conf and tried setting a
 value and leaving it as auto, both of these changes fixed the download
 speed issue but setting to 0 introduces the problem.
 
 Has anyone else noticed this?
 
 Chris
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Bosko Milekic
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Index: src/sys/kern/kern_mbuf.c
===
RCS file: /home/ncvs/src/sys/kern/kern_mbuf.c,v
retrieving revision 1.4
diff -u -r1.4 kern_mbuf.c
--- src/sys/kern/kern_mbuf.c20 Sep 2004 08:52:04 -  1.4
+++ src/sys/kern/kern_mbuf.c6 Jan 2005 22:37:34 -
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2004
+ * Copyright (c) 2004, 2005
  * Bosko Milekic [EMAIL PROTECTED].
  * All rights reserved.
  *
@@ -85,13 +85,16 @@
 int nmbclusters;
 struct mbstat mbstat;
 
+static int nmbclusters2;
+
 static void
 tunable_mbinit(void *dummy)
 {
 
/* This has to be done before VM init. */
nmbclusters = 1024 + maxusers * 64;
-   TUNABLE_INT_FETCH(kern.ipc.nmbclusters, nmbclusters);
+   nmbclusters2 = nmbclusters;
+   TUNABLE_INT_FETCH(kern.ipc.nmbclusters, nmbclusters2);
 }
 SYSINIT(tunable_mbinit, SI_SUB_TUNABLES, SI_ORDER_ANY, tunable_mbinit, NULL);
 
@@ -141,8 +144,8 @@
NULL, NULL, MSIZE - 1, UMA_ZONE_MAXBUCKET);
zone_clust = uma_zcreate(MbufClust, MCLBYTES, mb_ctor_clust,
mb_dtor_clust, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_REFCNT);
-   if (nmbclusters  0)
-   uma_zone_set_max(zone_clust, nmbclusters);
+   if (nmbclusters2  0)
+   uma_zone_set_max(zone_clust, nmbclusters2);
zone_pack = uma_zsecond_create(Packet, mb_ctor_pack, mb_dtor_pack,
mb_init_pack, mb_fini_pack, zone_mbuf);
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA C3 CPU not recognized

2005-01-06 Thread Lukas Ertl
On Thu, 6 Jan 2005 23:36:43 +0100, Lukas Ertl [EMAIL PROTECTED] wrote:
 5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately
 after the loader with
 
 CPU class not configured

Nevermind.  It seems I now explicitely need 

cpu I686_CPU

in my kernel.

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


Re: VIA C3 CPU not recognized

2005-01-06 Thread Stefan Bethke
Am 06.01.2005 um 23:36 schrieb Lukas Ertl:
Hello,
5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately
after the loader with
CPU class not configured
Last known working kernel is from Sun Nov  7 16:27:23 CET 2004, it
recognizes the CPU as
CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU)
  Origin = CentaurHauls  Id = 0x673  Stepping = 3
  Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX
The new kernel says it's an unknown class CPU.  I haven't changed my
kernel config since I built the old kernel, so maybe I have overlooked
some new option for VIA CPUs, but I couldn't find a change at first
glance.
FWIW, this is working for me:
FreeBSD diesel.lassitu.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 22 
18:45:26 CET 2004

CPU: VIA C3 Samuel 2 (532.64-MHz 686-class CPU)
  Origin = CentaurHauls  Id = 0x673  Stepping = 3
  Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX
(it's a Lexware barebone.)
I have this in my kernel config:
machine i386
cpu I686_CPU
and no CPUTYPE set in make.conf.
HTH,
Stefan
--
Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346 0140
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA C3 CPU not recognized

2005-01-06 Thread Peter Jeremy
On Thu, 2005-Jan-06 23:36:43 +0100, Lukas Ertl wrote:
5.3-STABLE refuses to recognize my VIA C3 CPU, it panics immediately
after the loader with

CPU class not configured

Last known working kernel is from Sun Nov  7 16:27:23 CET 2004, it
recognizes the CPU as

CPU: VIA C3 Samuel 2 (601.37-MHz 686-class CPU)
  Origin = CentaurHauls  Id = 0x673  Stepping = 3
  Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX

The new kernel says it's an unknown class CPU.

The exact message may help diagnose what has gone wrong.

  I haven't changed my
kernel config since I built the old kernel, so maybe I have overlooked
some new option for VIA CPUs, but I couldn't find a change at first
glance.

FWIW, I can't see anything that has changed.

Assuming you've double-checked the obvious things (like both kernels
really were built using the same config file and you're updating along
the correct branch), I'd suggest you either need to do a binary search
between 7th November and now to work out what broke, or (if boot -d
enters the debugger early enough) spend some time with DDB working out
why the CPU ident code no longer works for you.

The relevant files are: 
/sys/i386/i386/identcpu.c
/sys/i386/i386/initcpu.c
/sys/i386/i386/locore.s

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


Re: VIA C3 CPU not recognized

2005-01-06 Thread Peter Jeremy
On Fri, 2005-Jan-07 00:20:12 +0100, Lukas Ertl wrote:
Nevermind.  It seems I now explicitely need 

cpu I686_CPU

in my kernel.

You should have always needed that.

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


Re: uplcom usb to serial adapter broken

2005-01-06 Thread Daniel O'Connor
On Fri, 7 Jan 2005 05:35, Ryan Falkenberg wrote:
I plugged mine in and got..

Jan  7 08:53:33 inchoate kernel: ucom0: Prolific Technology PL2303 Serial 
adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2
Jan  7 08:53:53 inchoate kernel: ucom0: at uhub0 port 1 (addr 2) disconnected
Jan  7 08:53:53 inchoate kernel: All threads purged from cuaU0
Jan  7 08:53:53 inchoate kernel: All threads purged from ttyU0
Jan  7 08:53:53 inchoate kernel: ucom0: detached

I tested it talking to my DSL-300 modem and it worked fine (TX  RX) 
but I don't think that thing needed HW flow control to work.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpYZ76Rhx8mB.pgp
Description: PGP signature


Re: Missing Man-Pages in RELENG_4

2005-01-06 Thread Hideyuki KURASHINA
Hi,

 On Fri, 7 Jan 2005 00:11:15 +0300, Igor Pokrovsky [EMAIL PROTECTED] said:

 On Wed, Jan 05, 2005 at 05:26:18PM +0100, Michael Schuh wrote:
  Hi,
  
  i miss the manpages for ipf.conf ipnat.conf
  under RELENG_4 last updated 2005-01-05
  via cvsup.
 
 I guess this is because there are no those man pages.

That is not true.

  % uname -r
  4.10-RELEASE-p3
  % env PAGER=more apropos ipf.conf
  ipf(5), ipf.conf(5)  - IP packet filter rule syntax
  % env PAGER=more apropos ipnat.conf
  ipnat(5), ipnat.conf(5)  - IP NAT file format

This is due to 

  1. lack of MLINKS in src/sbin/ipf/Makefile (HEAD, RELENG_5 and RELENG_4
 are affected)
  2. revsion 1.6 of src/sbin/ipnat/Makefile is not yet merged to RELENG_4

Darren, could you please commit following patch?  Guido, also please
merge those changes?

Thanks,

-- rushani

Index: Makefile
===
RCS file: /home/ncvs/src/sbin/ipf/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile23 Feb 2004 20:13:52 -  1.14
+++ Makefile7 Jan 2005 04:49:41 -
@@ -4,6 +4,8 @@
 
 PROG=  ipf
 MAN=   ipf.4 ipf.5 ipf.8
+MLINKS=ipf.5 ipf.conf.5 \
+   ipf.5 ipf6.conf.5
 SRCS=  ipf.c parse.c opt.c facpri.c common.c
 CFLAGS+=-DUSE_INET6 -DIPL_NAME=\/dev/ipl\
 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM ServeRAID 7k 5.3

2005-01-06 Thread Scott Long
Jan Mikkelsen wrote:
Hi,
I'm looking at the same issue with a Serveraid 6i in an xSeries x226.  In
hindsight, I should have specified an iir controller, possibly with some
machine other than an IBM!
There seems to be an ioctl where a user mode program can issue a command to
the controller to find out what is going on.  Is there any documentation
available for this?  I've started to experiment, but I haven't done much
yet.
Regards,
Jan Mikkelsen.
There is no documentation on anything related to this that I know of.
Sorry.  These are decent cards, but there seems to be little chance that
Adaptec or IBM will support online management under FreeBSD.
Scott
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM ServeRAID 7k 5.3

2005-01-06 Thread Jan Mikkelsen
Hi,
Scott Long wrote:
There is no documentation on anything related to this that I know of.
Sorry.  These are decent cards, but there seems to be little chance that
Adaptec or IBM will support online management under FreeBSD.
Thanks for the reply.
I looked through the driver code and wrote an ipsstat utility that 
uses the user command ioctl to query what is going on.  The output isn't 
pretty; my main purpose is to have someone be notified if a logical 
drive goes into degraded mode.

Example output below.  The implementation is pretty straightforward; 
I'm happy to hand out the source.

Regards,
Jan.
[EMAIL PROTECTED]: src $ sudo ./ipsstat /dev/ips0
ips adaptor info for /dev/ips0
drivecount:   1
miscflags:6
SLTflags: 0
BSTflags: 0
pwr_chg_count:0
wrong_addr_count: 0
unident_count:0
nvram_dev_chg_count:  0
codeblock_version:7.00.17
bootblock_version:7.00.17
max_concurrent_cmds:  64
max_phys_devices: 30
flash_prog_count: 0
defunct_disks:0
rebuildflags: 15
offline_drivecount:   0
critical_drivecount:  0
config_update_count:  41
blockedflags: 0
psdn_error:   0
drivecount:   1
host_id:  Null Config
rebuild_rate: 15
board_desc:   TMB 4 Ch
processor:PPC-750
Info for logical drive 0:
user_field:   5132
state:OK
raid_cache_param: 1
chunk_unit_count: 2
stripe_size:  4
params:   0
logical_drive_size:   286746624
Details of chunk 0 for logical drive 0:
channel:  1
target:   0
starting sector:  0
sector count: 286746624
Details of chunk 1 for logical drive 0:
channel:  1
target:   1
starting sector:  0
sector count: 286746624
Device at channel 1, target 0:
initiator:0
params:   0
misc_flag:0
state:137
block_count:  286747728
device_id:IBM-ESXSDTN146C3S29CECWGBXTC
Device at channel 1, target 1:
initiator:0
params:   0
misc_flag:0
state:137
block_count:  286747728
device_id:IBM-ESXSDTN146C3S29CECWDSDGE
Device at channel 1, target 8:
initiator:0
params:   3
misc_flag:0
state:1
block_count:  0
device_id:IBM 02R0980a1   000
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]