Re: Okay. who broke ata.

2003-04-06 Thread Friedemann Becker
from another thread:

try hw.ata.ata_dma="0" in /boot/loader.conf to disable DMA, it is
currently broken but being worked on

On Mon, 7 Apr 2003, Jun Kuriyama wrote:

> At Sun, 6 Apr 2003 04:18:42 + (UTC),
> Kevin S. Brackett wrote:
> > make world from yesterday broke support for my promise udma66 controller,
> > getting READ/WRITE errors on the drive attached to, reverting to previous
> > kernel fixes problem.
>
> I got same result.
>
> After updating to latest source, I got:
>
> ad0: 76319MB  [155061/16/63] at ata0-master UDMA100
> ad1: 39266MB  [79780/16/63] at ata0-slave UDMA100
> ad4: READ command timeout tag=0 serv=0 - resetting
> ata2: resetting devices ..
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; lapic.id = 
> fault virtual address   = 0x0
> fault code  = supervisor read, page not present
> instruction pointer = 0x8:0xc015eed2
> stack pointer   = 0x10:0xe11f0c48
> frame pointer   = 0x10:0xe11f0c5c
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags= interrupt enabled, resume, IOPL = 0
> current process = 14 (swi7: tty:sio clock)
> kernel: type 12 trap, code=0
> Stopped at  reinit_bus+0x12:movl0(%esi),%eax
> db> trace
> reinit_bus(0,2,e11f0c90,c0147998,c7a61e00) at reinit_bus+0x12
> atapi_cam_reinit_bus(c7a61e00,ec,c03adf22,3,c7a87f00) at atapi_cam_reinit_bus+0x21
> ata_reinit(c7a61e00,c7a87f00,c03a9f87,0,0) at ata_reinit+0x3c8
> ad_timeout(c7a87f00,0,c03c0542,bf,438) at ad_timeout+0x136
> softclock(0,0,c03bd526,232,c3afd5a0) at softclock+0x19c
> ithread_loop(c3afc180,e11f0d48,c03bd3a2,314,0) at ithread_loop+0x182
> fork_exit(c01fac70,c3afc180,e11f0d48) at fork_exit+0xc4
> fork_trampoline() at fork_trampoline+0x1a
>
>
> Previous (Mar 26) kernel said like this:
>
> ad0: 76319MB  [155061/16/63] at ata0-master UDMA100
> ad1: 39266MB  [79780/16/63] at ata0-slave UDMA100
> ad4: 58644MB  [119150/16/63] at ata2-master UDMA100
> ad5: 43979MB  [89355/16/63] at ata2-slave UDMA100
> acd0: CD-RW  at ata1-master PIO4
> acd1: DVD-R  at ata1-slave PIO4
> pass0 at ata1 bus 0 target 0 lun 0
> pass0:  Removable CD-ROM SCSI-0 device
> pass0: 16.000MB/s transfers
> pass1 at ata1 bus 0 target 1 lun 0
> pass1:  Removable CD-ROM SCSI-0 device
> pass1: 16.000MB/s transfers
>
>
> --
> Jun Kuriyama <[EMAIL PROTECTED]> // IMG SRC, Inc.
>  <[EMAIL PROTECTED]> // FreeBSD Project
> ___
> [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]"


Re: ATA problems on Promise controller

2003-04-05 Thread Friedemann Becker
try hw.ata.ata_dma="0" in /boot/loader.conf to disable DMA, it is
currently broken but worked on

On Sat, 5 Apr 2003, Paul van der Zwan wrote:

> With a -current kernel ( cvsupped today ) I can no longer boot.
> It hangs on the drives connected to the promis controller built into my
> MSI KT266 mobo.
> The messages are like
>
> ad2: READ command timeout tag=0 serv=0 - resetting
>
> Same for ad3. It tries falling back to pio mode but after that it hangs
> completely.
> I have tried putting hw.at.tags=0 in /boot/loader.conf as suggested in
> some older messages on this list but that dit not help.

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


Re: MIDI

2003-03-31 Thread Friedemann Becker
I'm interrested in using MIDI on FreeBSD, too, but I have to tell you,
that - as far as I found out - there has been midi support some time
ago, but it's not included in the system/kernel anymore.

There's probably some hope although, I don't find it, but I remember
someone stated that you can easily apply the netbsd midi code as a
patch to the current kernel. 5.0RC2 works according to this source,
but had system reboots, when kldloading the midi module.

If you're interrested, maybee you have more luck searching, there
aren't many articles about freebsd and midi on the net (especially
newer ones).


I'll keep on searching


Friedemann


> Hello,
> I am not sure if this is most appropriate here, but there is no
> sound-dev-current mailing list.
>
> I was very happy when compiling my 5.0 kernel. For the first time "device
> midi" compiled without giving any errors. This abnormal excitement only
> led to misery when I discovered after rebooting that there still was no
> MIDI.
> Is MIDI going to be implemented soon? Who is working on it? Can I help
> them? (I am not a very good programmer, but I can hack pre existing code,
> and I am good at testing). MIDI is the ONLY thing stopping me from
> running FreeBSD exclusively.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with clock (fwd)

2003-03-30 Thread Friedemann Becker


-- Forwarded message --
Date: Fri, 28 Mar 2003 23:18:35 +0100 (CET)
From: Friedemann Becker <[EMAIL PROTECTED]>
To: Andris <[EMAIL PROTECTED]>
Subject: Re: Problems with clock

Try this one. I had the same problem, and de fix described put the clock
back to normal operation.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/32226

On Fri, 28 Mar 2003, Andris wrote:

> Hi everyone!
>
> I have strange problems with my PC clock. Clock seems to be ~2 times faster.
>
> What's up?
>
> Andris
>
> Here is dmesg output:
>
> 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.0-RELEASE-p6 #0: Fri Mar 28 11:45:46 EET 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MEZHS
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0407000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04070a8.
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 333516074 Hz
> CPU: AMD-K6(tm) 3D processor (333.52-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
>   Features=0x8021bf
>   AMD Features=0x8800
> real memory  = 134152192 (127 MB)
> avail memory = 125931520 (120 MB)
> Initializing GEOMetry subsystem
> K6-family MTRR support enabled (2 registers)
> VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c4eeb (c0004eeb)
> VESA: S3 Incorporated. 86C775/86C785
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0:  on motherboard
> ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
> ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
> Using $PIR table, 6 entries at 0xc00f7c40
> acpi0: power button is handled as a fixed feature programming model.
> Timecounter "ACPI-safe"  frequency 3579545 Hz
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> acpi_cpu0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> agp0:  mem 0xd000-0xd1ff at device 0.0
> on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci0:  at device 3.0 (no driver attached)
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> pci0:  at device 8.0 (no driver attached)
> rl0:  port 0xdc00-0xdcff mem
> 0xebfeff00-0xebfe irq 10 at device 9.0 on pci0
> rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
> mode
> rl0: Ethernet address: 00:30:4f:16:8f:79
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ed0:  port 0xdf80-0xdf9f irq 9 at device
> 10.0 on pci0
> ed0: address 00:48:45:00:07:9e, type NE2000 (16 bit)
> atapci0:  port 0xffa0-0xffaf at device
> 15.0 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> acpi_button0:  on acpi0
> atkbdc0:  port 0x64,0x60 irq 1 on acpi0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: cmd 3 failed at out byte 1 of 3
> ppc0 port 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> fdc0: cmd 3 failed at out byte 1 of 3
> orm0:  at iomem 0xc-0xc7fff on isa0
> pmtimer0 on isa0
> fdc0: cannot reserve I/O port range (6 ports)
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> Timecounters tick every 10.000 msec
> ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to
> accept, logging unlimited
> DUMMYNET initialized (011031)
> IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
> acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
> ad0: 3098MB  [6296/16/63] at ata0-master UDMA33
> Mounting root from ufs:/dev/ad0s1a
>
> ___
> [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]"