From nobody@FreeBSD.org  Tue Jul 19 16:31:07 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDD8A16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2005 16:31:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9E40F43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2005 16:31:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j6JGV7d0080521
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Jul 2005 16:31:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j6JGV7lR080519;
	Tue, 19 Jul 2005 16:31:07 GMT
	(envelope-from nobody)
Message-Id: <200507191631.j6JGV7lR080519@www.freebsd.org>
Date: Tue, 19 Jul 2005 16:31:07 GMT
From: Serg45 <ss45@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: network card (realtek 8139) and sound card (CMI8738) share irq 5. realtek does not work
X-Send-Pr-Version: www-2.3

>Number:         83735
>Category:       i386
>Synopsis:       [re] network card (realtek 8139) and sound card (CMI8738) share irq 5. realtek does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 19 16:40:14 GMT 2005
>Closed-Date:    Sat Jan 26 19:29:08 UTC 2008
>Last-Modified:  Sat Jan 26 19:29:08 UTC 2008
>Originator:     Serg45
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD tryout.blspb.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Jun  1 17:02:41 MSD 2005     root@tryout:/usr/obj/usr/src/sys/TRYOUT  i386

>Description:
Computer (EliteGroup i-Buddie, Transmeta Crusoe 5600, ALI chipset) works fine with Windows, Linux, OpenBSD. FreeBSD (any revision) can not initialize network card (Realtek 8139). It shares IRQ 5 with sound card (it is not possible to change IRQ in BIOS or turn off sound completely as there are no such BIOS options at all).
dmesg shows something like (I am not at that machine now):

realtek rtl8139 unknown device id: ffffff
device attach returned 6

I tried to recompile kernel without rl and re drivers and load them as modules, not to load sound module (snd_t4dwave.ko), disable ACPI in menu, in loader.conf, in device.hints. Result is always the same - no network...
>How-To-Repeat:
Try set the same IRQ for network card and sound card on motherboard with ALI chipset.
>Fix:
Not known yet
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Fri Nov 4 11:20:58 GMT 2005 
State-Changed-Why:  
Requesting feedback whether swithing slots for the network 
card (seems external) works. Also requested to be sure that 
the IRQ mode's cannot be set manually since most motherboards 
i know of are able to do so (google?). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83735 
State-Changed-From-To: feedback->open 
State-Changed-By: remko 
State-Changed-When: Mon Dec 26 15:05:36 UTC 2005 
State-Changed-Why:  
Feedback had been recieved: 

Hello and thanks for your reply! 

Unfortunately, I have no option to change IRQ or slot for net 
card. The PC I have is EliteGroup i-Buddie A530. It is 
notebook-like PC with everything on-board and simple BIOS setup. 
I can not even turn off the sound card - it's integrated into 
chipset and BIOS has no option to change anything except LPT 
settings, HDD recognition (auto/manual) and language (US/Brasil) 
:)  I tried Windows 98, 2000, XP, Linux (Mandriva 9,10, Debian, 
SUSE 9,10) - all hardware works just fine, even modem! But FreeBSD 
4.11, 5.4, 6.0RC1 can not use netcard, and PC hangs if atapi DMA 
turned on (this happens with BSD only!!!). Here are some details 
(as I mentioned, sound and network share IRQ 5): 

http://www.elitegroup.com.tw 

Model: A530_TM5600 

Specification: 

Processor Transmeta Crusoe 5600 CPU, 512KB L2 cache on die 
With LongRun; Power Management 
Compact 474pins ceramic BGA package 
x86-compatible code excution combined with Code Morphing; software 
Core Logic 	 
North bridge : embedded in Transmeta CPU 
South bridge : ALi 1535+ 
Memory 	 
128MB PC133 SDRAM on board; up to 384MB SDRAM total 
Expansion 1 slot of 144pin SO-DIMM 
Supports 3.3V PC133 SDRAM Module 
LCD Display 	 
14.1" XGA TFT LCD with 1024 x 768 resolution 
256bit 3D graphic engine, supports up to 143MHz 3D engine clock 
Hard Drive 	 
ATA100/66/33 and Enhanced IDE (PIO mode 4) supported, 2.5" 9.5mm height 
Optical Storage 	 
Factory Option : 5.25" 12.7mm height slim type CD-ROM, DVD-ROM, Combo Drive (DVD-ROM+CD-RW) 
Pointing Device 	 
Synaptics touchpad with scrolling button 
I/O Interface 	 
4 X USB2.0,1 X RJ-11 (Modem),1 X RJ-45 (Ethernet) 
1 X Headphone jack, 1 X MIC-in, 1 X Parallel port 
1 X TV-Out port, 1 X External VGA port, 1 X DC-in Jack for AC adapter 
Audio 	 
CMI8738 AC'97 2.1 compliant, SPDIF out, 5.1 channel support 
BIOS 	 
AMI 512KBytes Flash BIOS, supports password, Plug & Play, ACPI and DMI 
Bootable from USB FDD and Optical Device 
Optional Accessory 	 
Wireless LAN module 
Battery Pack : 8-cell battery pack and Dummy battery pack 
Communication 	 
Internal LAN, Wireless USB LAN(Option) and Modem  
Integrated WiFi; -compliant wireless LAN (802.11b) available as configurable option 
On-board, full duplex 10/100 Base-T LAN Ethernet  (Realtek 8139) 
56K/V.90 data/fax modem (ALI5457) 
USB Connector 	 
Four USB2.0 ports, up to 480Mbit/s 
Power Management 	 
PC 2001, ACPI compliance 
Remark 	 
WLP 2.1a , ACPI compliance, Designed for Windows XP 

Regards, 
Sergey 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83735 
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Tue Jul 3 12:20:10 UTC 2007 
State-Changed-Why:  

To submitter:  Is this still a problem with a 6.x version of FreeBSD? 
A lot has changed in the 6.x branch which may well fix this problem. 


Responsible-Changed-From-To: freebsd-i386->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Jul 3 12:20:10 UTC 2007 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83735 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Sat Jan 26 19:28:27 UTC 2008 
State-Changed-Why:  
Feedback timeout (6 months).  To submitter: if you are still having this 
problem, we can reopen the PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83735 
>Unformatted:
