Re: 3C940 / Asus P4P800 gigabit LAN driver

2003-09-07 Thread Josh Elsasser
On Fri, Sep 05, 2003 at 07:50:24PM +0100, Stuart Walsh wrote:
 On Mon Aug 25, 11:11P -0500, Glenn Johnson wrote:
 
 Hi again chaps,
 
 I've been working on other things lately, including getting ready to
 move house and looking after my 3 month old daughter :) but recently I've 
 took up trying to get this driver working again.  If anyone is interested in
 helping out, could they give http://stu.bash.sh/if_sk.c and
 http://stu.bash.sh/if_skreg.h a try and let me know what output you get.
 I'm only really interested in what happens after the MAC gets printed so
 don't go to too much trouble to get the exact info.
 
 Just plonk the files in /usr/src/sys/pci over the top of the old ones.
 Thanks to anyone who helps out.

Sorry for the delay.  I just upgraded this machine to -current and
things have just now settled down.

I compiled the if_sk module (it seemed to want yukonreg.h, which I
found on your site), loaded it, and got this:

skc0: 3Com 3C940 Gigabit Ethernet port 0xb800-0xb8ff mem 0xdc80-0xdc803fff irq 5 
at device 9.0 on pci0
skc0: 3Com Gigabit LOM (3C940)
sk0: GI Yukon MAC on skc0
sk0: Ethernet address: xx:xx:xx:xx:xx:xx
Yukon chip deteched
Phy type 4 addr 0
sk_intr
sk_intr
sk_intr
sk_intr
sk_intr
sk_intr
sk_intr

At this point the machine seemed to be writing to swap and kldload was
hung, so I rebooted.

Note that this the onboard 3C940 on the Asus A77V600 motherboard.

I will be more than happy to help test any more code you have to get
this driver working.

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


Re: Problems with ATAng and cdparanoia

2003-09-07 Thread Josh Elsasser
On Sun, Sep 07, 2003 at 01:59:55PM +0200, Arjan van Leeuwen wrote:
 Hi,
 
 Since the ATAng import, I can't use the cd ripper cdparanoia 
 (audio/cdparanoia) with my IDE CD-ROM drive. When I direct cdparanoia to 
 device /dev/acd0, it will exit with the message 
 
 006: Could not read any data from drive
 
 Cdparanoia could not find a way to read audio from this drive.
 
 If, however, I use the atapicam device to rip (I have to set the device to 
 /dev/cd1 for that), it works without any problem.
 
 Before ATAng, I could use cdparanoia on both devices, now I can only use the 
 atapicam one, which probably means that people without atapicam can't use 
 cdparanoia at all.

I have this same problem trying to use cdparanoia on my IDE CDROM
(/dev/acd0), and my SCSI CDROM (/dev/cd0).  I do not know if atapicam
would help, as I have the same problem mentioned in another thread
where atapicam panics on my atapi zip drive.

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


ADI AD1980 / VIA VT8237 sound support?

2003-09-07 Thread Josh Elsasser
I just bought a new Asus A7V600 motherboard, which claims to have an
ADI AD1980 SoundMAX 6-channel CODEC and a VIA VT8237 southbridge.

Unfortunately, the sound does not seem to be supported.  That's what I
get for buying newly-released hardware I guess.

Here is the appropriate portion of pciconf -l -v:

[EMAIL PROTECTED]:17:5:class=0x040100 card=0x80b01043 chip=0x30591106 rev=0x60 
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8233/33A AC97 Enhanced Audio Controller'
class= multimedia
subclass = audio

I tried simply adding my chip revision to the probe routine in
dev/sound/pci/via8233.c (patch included below) with this result:

pcm0: VIA VT8237 port 0xe000-0xe0ff irq 5 at device 17.5 on pci0
pcm0: Analog Devices AD1980 AC97 Codec

I was then able to play sound, but with an odd beeping noise.

If there's anyone out there who wants to try to get this working, I
will gratefully help in any way I can.

Thanks,

 -jre


--- via8233.c.orig  Tue Sep  2 13:30:37 2003
+++ via8233.c   Sun Sep  7 23:38:20 2003
@@ -53,6 +53,7 @@
 #define VIA8233_REV_ID_82330x30
 #define VIA8233_REV_ID_8233A   0x40
 #define VIA8233_REV_ID_82350x50
+#define VIA8233_REV_ID_82370x60
 
 #define SEGS_PER_CHAN  2   /* Segments per channel */
 #define NDXSCHANS  4   /* No of DXS channels */
@@ -634,6 +635,9 @@
return 0;
case VIA8233_REV_ID_8235:
device_set_desc(dev, VIA VT8235);
+   return 0;
+   case VIA8233_REV_ID_8237:
+   device_set_desc(dev, VIA VT8237);
return 0;
default:
device_set_desc(dev, VIA VT8233X);/* Unknown */
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LS120, ATANg and Atapicam

2003-09-07 Thread Josh Elsasser
On Sun, Sep 07, 2003 at 12:18:56AM +, Mark Dixon wrote:
 Hi,
 
 I'm not sure if this is a known problem, but I don't see any references 
 to it. I've gone from 5.1-RELEASE to todays CURRENT to try to get rid of 
 a different panic (no news on that yet), but I have hit this one.
 
 If I boot my system with no floppy in the LS-120, the system panics 
 where atapicam creates da0 for it. If there is a disk in the drive, it 
 works fine.
 
 As yet, I havn't got the details of the panic, but if this is of 
 interest to anyone here, I will be willing to provide them with them 
 (they wil have to be be copied out by hand, so I'm lothe to do it if 
 nobody is interested).
 
 Sorry if this email is a little vague, its been a long week.

Just want to add a me too here.  I have what looks like the same
problem with an atapi zip drive.  I can set up a serial cable and try
to get a backtrace if that would help.

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


Re: snd_csa issues in -CURRENT

2003-08-30 Thread Josh Elsasser
On Sat, Aug 30, 2003 at 06:45:49PM +1000, matti k wrote:
 On Fri, 29 Aug 2003 12:36:56 +0200
 Eirik Oeverby [EMAIL PROTECTED] wrote:
 
  I might also point out that there are two distinct kinds of distortion
  happening: The click/pop/crackle kind of distortion, and one where a
  sound buffer is repeated over and over 5-10 times - as if the hardware
  has some kind of hickup.
  
  Again - this *only* happens in -CURRENT, not in -STABLE or in any
  other OS (tested OS/2, BeOS, Linux, winXX).
  
  Anyone? :)
  
  /Eirik
 
 I get the same pops/crackling but using a SB Live!
 I think it started happening when I switched from 4.x to 5.x
 The strange thing is that sound works fine after a reboot but some hours
 after that I get the noises. It only happens with music (mp3,ogg).
 
 $ uname -a
 FreeBSD platypus.freebsd.home 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun
 Aug 24 21:53:30 EST 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLATY4  i386
 
 dmesg attached
 

I have seen (heard?) the same crackling problem on the onboard intel
815 sound on my laptop.  I don't recall it happing in -STABLE, but I
could be wrong.

dmesg also attached

 -jre
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 #4: Tue Aug 26 17:17:17 EDT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/OSIRIS
Preloaded elf kernel /boot/kernel/kernel at 0xc057f000.
Preloaded elf module /boot/kernel/if_ath.ko at 0xc057f2bc.
Preloaded elf module /boot/kernel/wlan.ko at 0xc057f368.
Preloaded elf module /boot/kernel/rc4.ko at 0xc057f414.
Preloaded elf module /boot/kernel/ath_hal.ko at 0xc057f4bc.
Preloaded elf module /boot/kernel/acpi.ko at 0xc057f568.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (794.93-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 266862592 (254 MB)
avail memory = 253075456 (241 MB)
netsmb_dev: loaded
Pentium Pro MTRR support enabled
VESA: v3.0, 1024k memory, flags:0x1, mode table:0xc0467240 (140)
VESA: Intel815M(TM) Graphics Chip Accelerated VGA BIOS
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: SONY   U0   on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: slot 2 INTA is routed to irq 9
pcib0: possible interrupts:  9
pcib0: slot 31 INTD routed to irq 9 via \\_SB_.LNKD
pcib0: slot 31 INTB is routed to irq 9
pcib0: slot 31 INTC is routed to irq 9
pcib0: slot 31 INTB is routed to irq 9
pcib0: slot 31 INTB is routed to irq 9
agp0: Intel 82815 (i815 GMCH) SVGA controller mem 
0xf400-0xf407,0xf800-0xfbff irq 9 at device 2.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib1: slot 0 INTA is routed to irq 9
pcib1: slot 8 INTA is routed to irq 9
pci1: serial bus, FireWire at device 0.0 (no driver attached)
cbb0: RF5C476 PCI-CardBus Bridge at device 2.0 on pci1
start (8800)  sc-membase (f410)
end ()  sc-memlimit (f41f)
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pcib1: possible interrupts:  9
pcib1: slot 2 INTA routed to irq 9 via \\_SB_.LNKC
cbb1: RF5C476 PCI-CardBus Bridge at device 2.1 on pci1
start (8800)  sc-membase (f410)
end ()  sc-memlimit (f41f)
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
pcib1: slot 2 INTB is routed to irq 9
fxp0: Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet port 0x3000-0x303f mem 
0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1
fxp0: Ethernet address xx:xx:xx:xx:xx:xx
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 UDMA100 controller port 0x1800-0x180f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0x1820-0x183f irq 9 at 
device 31.2 on pci0
usb0: Intel 82801BA/BAM (ICH2) 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
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0x1840-0x185f irq 9 at 
device 31.4 on pci0
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: 

Re: Disk/FS I/O issues in -CURRENT

2003-06-30 Thread Josh Elsasser
I think I experienced the same bug on my Sony Vaio FX200 with -CURRENT
from Sat Jun 28.  I had an unrelated panic, and after rebooting, the
machine locked up after a minute or so during the background fsck.
After rebooting several times, I finally had to boot it single-user
and fsck -y, which did not lock it up.  Perhaps creating/using the
filesystem snapshots was triggering the lockup.

 -jre

On Mon, Jun 30, 2003 at 03:42:58PM +0200, Eirik Oeverby wrote:
 Hi,
 
 Kernel from 27.06 has same behaviour. I would prefer not to have to
 install yet another kernel right now, since I need to get some work
 done. If anyone else has any possible clues as to when this regression
 happened, that would help me (or whoever else would want to test by
 adding date=.mm.dd.hh.mm.ss to their supfile) determine what date to
 pick for testing.
 
 /Eirik
 
 On Mon, 30 Jun 2003 23:32:26 +1000
 Mark Sergeant [EMAIL PROTECTED] wrote:
 
  I get the same problem on a smp machine and my laptop both running
  kernels as from today.
  
  On Mon, Jun 30, 2003 at 03:26:13PM +0200, Eirik Oeverby wrote:
   Hi,
   
   Good to see I'm not the only one.
   I'm currently going back to a kernel dated 2003.06.27.12.00.00, and
   I'll test again with that one.
   
   /Eirik
   
   On Mon, 30 Jun 2003, Peter Holm wrote:
  ___
  [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]