LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2002, 07:25 PM   #1
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Rep: Reputation: 0
Question linux newbie needs help with installing a Ethernet card


I have an SMC8036TX PCMCIA Cardbus adapter. I have been trying to get this card working with Red Hat Linux 7.3. I emailed SMC Tech Support 3 times and they only replied to my first email. The guy told me that the pc card uses ADMTek Comet kernel module (which I think is tulip). He also told me to update my kernel. I upgraded my kernel from 2.4.18-3 to 2.4.18-10. I also made sure that I enable module support but still Red hat could not recognize my pc card. I think I've tried everything but hopefully somewhere out there who has more experience with Linux and has had the same problem with the same card can help me. I don't really want to buy a new card because I just bought this one. PLEASE HELP.
 
Old 10-21-2002, 07:59 PM   #2
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
you probably need to provide more information

you might try providing the output of:

lsmod

and

cat /proc/interrupts
 
Old 10-21-2002, 09:13 PM   #3
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
I had a hard time trying to figure out how to copy and paste from the terminal window but I finally managed to do something. Well, here it is. I hope it helps. Thanks.

lsmod:
i810_audio 23008 0 (autoclean)
ac97_codec 11904 0 (autoclean) [i810_audio]
soundcore 6692 2 (autoclean) [i810_audio]
agpgart 39488 5 (autoclean)
binfmt_misc 7556 1
autofs 12164 0 (autoclean) (unused)
ds 8608 2
yenta_socket 12384 2
pcmcia_core 50752 0 [ds yenta_socket]
ipchains 43560 15
ide-cd 30272 0 (autoclean)
cdrom 32192 0 (autoclean) [ide-cd]
pegasus 13376 1
mousedev 5312 1
hid 21344 0 (unused)
input 5984 0 [mousedev hid]
usb-uhci 24484 0 (unused)
usbcore 73152 1 [pegasus hid usb-uhci]
ext3 67136 2
jbd 49400 2 [ext3]

cat /proc/interrupts:
CPU0
0: 129780 XT-PIC timer
1: 1312 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 66718 XT-PIC usb-uhci, usb-uhci, Intel ICH2
8: 1 XT-PIC rtc
9: 12 XT-PIC O2 Micro, Inc. OZ6933 Cardbus Controller, O2 Micro, Inc. OZ6933 Cardbus Controller (#2)
14: 19627 XT-PIC ide0
15: 7916 XT-PIC ide1
NMI: 0
ERR: 0

Thanks again.
 
Old 10-21-2002, 09:16 PM   #4
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
I'm actually using my Linksys USB adapter temporarily to connect to the internet in Linux. It would be great though to get the SMC card working in Linux so I don't have to keep switching my network cable and free up a usb slot whenever I switch to Linux.
 
Old 10-22-2002, 11:43 AM   #5
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
modprobe tulip_cb





have you tried ?

insmod tulip_cb

or

modprobe tulip_cb

if these don't provide immediate results, try installing the module with an assigned IRQ like modprobe tulip_cb irq=10


After that, check the PCMCIA startup script at /etc/rc.d/init.d/pcmcia. for more info on this see http://pcmcia-cs.sourceforge.net/ftp...O-2.html#ss2.5

Last edited by rioguia; 10-22-2002 at 12:09 PM.
 
Old 10-23-2002, 06:27 PM   #6
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
Hi rioguia,

First of all thanks for continuing to help me.

when I do insmod tulip_cb it says:
"insmod: tulip_cb: no module by that name found"

when I do modprobe tulip_cb it says:
"modprobe: Can't locate module tulip_cb:

I guess this means I don't have that module or something. Do I have to recompile and reenable module support?

I think I have no problems with my startup script because I installed Red Hat Linux 7.3 as Laptop configuration so it enabled PCMCIA. I also checked my boot script as descripbed in that URL you gave and it says PCMCIA = yes
But I'll put on my startup script anyway.
This is most of what is in my /etc/rc.d/init.d/pcmcia file:

# Tags for Red Hat init configuration tools
#
# chkconfig: 2345 24 96
# processname: cardmgr
# pidfile: /var/run/cardmgr.pid
# config: /etc/pcmcia/config
# config: /etc/pcmcia/config.opts
# description: PCMCIA support is usually to support things like ethernet \
# and modems in laptops. It won't get started unless \
# configured so it is safe to have it installed on machines \
# that don't need it.
Save option values passed in through the environment
for N in PCMCIA PCIC PCIC_OPTS CORE_OPTS CARDMGR_OPTS SCHEME ; do
V=`eval echo '$'$N` ; if [ "$V" ] ; then eval ENV_$N=\"$V\" ; fi
done

# Source PCMCIA configuration, if available
if [ -f /etc/pcmcia.conf ] ; then
# Debian startup option file
. /etc/pcmcia.conf
elif [ -f /etc/sysconfig/pcmcia ] ; then
# Red Hat startup option file
. /etc/sysconfig/pcmcia
else
# Slackware startup options go right here:
# Should be either i82365 or tcic
PCIC=i82365
# Put socket driver timing parameters here
PCIC_OPTS=
# Put pcmcia_core options here
CORE_OPTS=
# Put cardmgr options here
CARDMGR_OPTS=
# To set the PCMCIA scheme at startup...
SCHEME=
fi
for N in PCMCIA PCIC PCIC_OPTS CORE_OPTS CARDMGR_OPTS SCHEME ; do
V=`eval echo '$'ENV_$N` ; if [ "$V" ] ; then eval $N=\"$V\" ; fi
done
if [ "$PCMCIA" -a "$PCMCIA" != "yes" ] ; then exit 0 ; fi

usage()
{
echo $"Usage: $0 {start|stop|status|restart|reload}"
}

cleanup()
{
while read SN CLASS MOD INST DEV EXTRA ; do
if [ "$SN" != "Socket" ] ; then
/etc/pcmcia/$CLASS stop $DEV 2> /dev/null
fi
done
}

EXITCODE=1
for x in "1" ; do

if [ "$PCIC" = "" ] ; then
echo $"PCIC module not defined in startup options!"
break
else
kernel=`uname -r | cut -d. -f1-2`
if [ $PCIC = i82365 -a $kernel = 2.4 ]; then
kudzu=$(kudzu -b pci -c socket -p | grep yenta_socket)
if [ -n "$kudzu" ]; then
PCIC=yenta_socket
if [ $# -lt 1 ] ; then usage ; break ; fi
action=$1

case "$action" in

start)
echo -n $"Starting PCMCIA services:"
if [ -d /var/lib/pcmcia ] ; then
SC=/var/lib/pcmcia/scheme
RUN=/var/lib/pcmcia
else
SC=/var/run/pcmcia-scheme
RUN=/var/run
fi
if [ -L $SC -o ! -O $SC ] ; then rm -f $SC ; fi
if [ ! -f $SC ] ; then umask 022 ; touch $SC ; fi
if [ "$SCHEME" ] ; then umask 022 ; echo $SCHEME > $SC ; fi
fgrep -q pcmcia /proc/devices
if [ $? -ne 0 ] ; then
if [ -d /lib/modules/preferred ] ; then
PC=/lib/modules/preferred/pcmcia
else
PC=/lib/modules/`uname -r`/pcmcia
fi
if [ -d $PC ] ; then
echo -n $" modules"
/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
/sbin/insmod $PC/$PCIC.o $PCIC_OPTS
/sbin/insmod $PC/ds.o
else
echo $" module directory $PC not found."
break
fi
fi
if [ -s /var/run/cardmgr.pid ] && \
kill -0 `cat /var/run/cardmgr.pid` 2>/dev/null ; then
echo $" cardmgr is already running."
else
if [ -r $RUN/stab ] ; then
cat $RUN/stab | cleanup
fi
echo $" cardmgr."
/sbin/cardmgr $CARDMGR_OPTS
fi
touch /var/lock/subsys/pcmcia 2>/dev/null
;;
fi
fi
fi
stop)
echo -n $"Shutting down PCMCIA services:"
if [ -s /var/run/cardmgr.pid ] ; then
PID=`cat /var/run/cardmgr.pid`
kill $PID
echo -n $" cardmgr"
# Give cardmgr a few seconds to handle the signal
kill -0 $PID 2>/dev/null && sleep 2 && \
kill -0 $PID 2>/dev/null && sleep 2 && \
kill -0 $PID 2>/dev/null && sleep 2 && \
kill -0 $PID 2>/dev/null
fi
killall -q "CardBus Watcher"
if fgrep -q "ds " /proc/modules ; then
echo -n $" modules"
/sbin/rmmod ds
/sbin/rmmod $PCIC
/sbin/rmmod pcmcia_core
fi
echo $"."
rm -f /var/lock/subsys/pcmcia

# we do this because when we stop the service, the ide stop script
# gets run before the card disappears
/usr/sbin/updfstab
EXITCODE=0
;;

status)
pid=`/sbin/pidof cardmgr`
if [ "$pid" != "" ] ; then
echo $"cardmgr (pid $pid) is running..."
EXITCODE=0
else
echo $"cardmgr is stopped"
EXITCODE=3
fi
;;

restart|reload)
$0 stop
$0 start
EXITCODE=$?
;;

*)
usage
;;

esac

done

# Only exit if we're in our own subshell
case $0 in *rc.pcmcia) exit $EXITCODE ;; esac

Thanks
 
Old 10-24-2002, 10:00 AM   #7
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
It might be a good time for the moderator to jump in here.

I'm about out of ideas. You shouldn't have to compile this driver because i'm pretty sure it should come with the standard install.

QUESTION 1.

when your computer boots up, do you hear any beeps? I'm guessing that you hear one high beep and one low beep. For a reference on how to interpret the beeps, see http://pcmcia-cs.sourceforge.net/ftp...A-HOWTO-3.html

QUESTION 2.

when your computer is booting, do you see an error message refering to eth0? If things are working CORRECTLY, you should see a message that says something like, "FAILED. Delaying initialization ...." Afther this, you should see the PCMCIA load and hear a beep.

QUESTION 3-A.
Are you ready to try some desperate measures?
there are a couple of things to try. these are going to produce a ton of data and most of it will NOT be relevant to you.

the first is:

When insmod and modprobe look for a module, they guess at probable paths. Maybe there is variation in the laptop install that is tricking the commands to guess wrong paths.

if you can let your computer sort through a really long search, try

find / -name "*tulip*"
(the find command is really important to learn. this command can be much more precise than what we are using here but this will serve the purpose. first the command find is obvious. the / gives a path to search which in this case is your entire linux box. lastly, we provide the name of the file for which we are looking. in this case we are using * wild cards so you have to put the name in "quotes."

QUESTION 3-b.

demesg > some_document_name.txt

(demesg asks the kernel to tell you about how it identified your system hardware. the > asks linux to print the output of the command--in this case to a text document. you can name the document anything just so long as you can remember the name and your text editor can read the document which you can then post here. you should find it in your default directory which i am assuming in this case is "/root"

Last edited by rioguia; 10-24-2002 at 10:30 AM.
 
Old 10-27-2002, 01:13 PM   #8
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
Hey, sorry I took so long to reply

Answer 1 & 2:
About the beep thing, I hear one low beep I think and on my boot messages, there's a line that says:
"Code: Bad EIP value"
or something and across and below it, it says "[FAILED]"

Answer 3-A:
Here is the output of the "find" command you gave to me:
/lib/modules/2.4.18-3/kernel/drivers/net/pcmcia/xircom_tulip_cb.o
/lib/modules/2.4.18-3/kernel/drivers/net/tulip
/lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o
/lib/modules/2.4.18-3/kernel/drivers/net/tulip_old
/lib/modules/2.4.18-3/kernel/drivers/net/tulip_old/tulip_old.o
/lib/modules/2.4.18-3/pcmcia/xircom_tulip_cb.o

Question 3-B:
I assumed that "demesg" is the same as "dmesg". Well here's the output:

Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 00000000000d4000 (reserved)
BIOS-e820: 00000000000e5400 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007e70000 (usable)
BIOS-e820: 0000000007e70000 - 0000000007e7fc00 (ACPI data)
BIOS-e820: 0000000007e7fc00 - 0000000007e80000 (ACPI NVS)
BIOS-e820: 0000000007e80000 - 0000000008000000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
On node 0 totalpages: 32368
zone(0): 4096 pages.
zone(1): 28272 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda3
Initializing CPU#0
Detected 797.583 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1592.52 BogoMIPS
Memory: 124656k/129472k available (1119k kernel code, 4428k reserved, 775k data, 280k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd9ca, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router PIIX [8086/244c] at 00:1f.0
PCI: Found IRQ 5 for device 01:0b.0
PCI: Sharing IRQ 5 with 00:1f.2
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 240 slots per queue, batch=60
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev f9
PIIX4: chipset revision 3
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdcMA, hddio
hda: IBM-DJSA-210, ATA DISK drive
hdc: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c035e6a4, I/O limit 4095Mb (mask 0xffffffff)
hda: 19640880 sectors (10056 MB) w/384KiB Cache, CHS=1222/255/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 121k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 280k freed
Adding Swap: 257000k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 07:43:07 Apr 18 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:1f.2
PCI: Sharing IRQ 5 with 01:0b.0
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
usb-uhci.c: USB UHCI at I/O 0x1880, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00e) is not claimed by any active driver.
hub.c: USB new device connect on bus2/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x66b/0x400b) is not claimed by any active driver.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
pegasus.c: v0.4.22 (2001/12/07):Pegasus/Pegasus II USB Ethernet driver
usb.c: registered new driver pegasus
pegasus.c: eth0: Linksys USB USB10TX
pegasus.c: setup Pegasus II specific registers
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,3), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ide-floppy driver 0.99.newide
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: DMA disabled
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ip_conntrack (1011 buckets, 8088 max)
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 9 for device 01:03.0
PCI: Sharing IRQ 9 with 01:03.1
PCI: Found IRQ 9 for device 01:03.1
PCI: Sharing IRQ 9 with 01:03.0
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000006
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000820
cs: cb_alloc(bus 6): vendor 0x1113, device 0x1216
PCI: Failed to allocate resource 0(4000-2fff) for 06:00.0
PCI: Failed to allocate resource 1(f4400000-f41fffff) for 06:00.0
PCI: Failed to allocate resource 6(f4400000-f41fffff) for 06:00.0
PCI: Enabling device 06:00.0 (0000 -> 0003)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
Linux Tulip driver version 0.9.15-pre10 (Mar 8, 2002)
PCI: Unable to reserve I/O region #1:fffff000@4000 for device 06:00.0
Trying to free nonexistent resource <00004000-00002fff>
Trying to free nonexistent resource <f4400000-f41fffff>
general protection fault: e990
ds yenta_socket pcmcia_core ipchains ide-cd cdrom pegasus mousedev hid input u
CPU: 0
EIP: 0050:[<00002ffc>] Not tainted
EFLAGS: 00010046

EIP is at Using_Versions [] 0x2ffb (2.4.18-3)
eax: 00000296 ebx: 00000001 ecx: 00000000 edx: 00000000
esi: c0233c69 edi: 00000014 ebp: c6b4de7c esp: c6b4de74
ds: 0058 es: 0000 ss: 0018
Process apmd (pid: 1054, stackpage=c6b4d000)
Stack: 5309518e 0000de7c 00000058 3c690296 de900050 00000001 530a0000 00000016
00485359 c1000000 c6b4def4 c0112a03 00000010 c6b4def4 00000296 c77c0018
00000018 c0120000 00000000 c6b4df2e c0233c69 ffffffff c6b4a000 c0112e07
Call Trace: [<c0112a03>] apm_bios_call [kernel] 0x43
[<c0120000>] dequeue_signal [kernel] 0xa0
[<c0112e07>] apm_get_power_status [kernel] 0x47
[<c012743e>] do_mmap_pgoff [kernel] 0x4ae
[<c0113a46>] apm_get_info [kernel] 0x46
[<c0131dd5>] __alloc_pages [kernel] 0x75
[<c0157555>] proc_file_read [kernel] 0xa5
[<c0138de6>] sys_read [kernel] 0x96
[<c0108923>] system_call [kernel] 0x33

Code: Bad EIP value.
<6>Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 93M
agpgart: agpgart: Detected an Intel i815 Chipset.
agpgart: detected 4MB dedicated video ram.
agpgart: AGP aperture is 64M @ 0xf8000000
memory : c6def720
memory : c6def760
memory : c6def7a0
Intel 810 + AC97 Audio, version 0.21, 07:42:52 Apr 18 2002
PCI: Found IRQ 5 for device 00:1f.5
PCI: Sharing IRQ 5 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH2 found at IO 0x1840 and 0x1c00, IRQ 5
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x8384:0x7600 (SigmaTel STAC????)
i810_audio: only 48Khz playback available.
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2
cdrom: This disc doesn't have any tracks I recognize!


I hope this helps. Thanks a lot, rioguia for your patience with me. I guess these moderators don't now the answer to my problem either.
I've had this problem for a long time now. I'm really thinking of buying a better network card that's supported by linux. I just don't know what I'm gonna do with this SMC card after. It's still pretty new, only a couple of months. I would be useless if I buy a new card. what a waste.
 
Old 10-28-2002, 09:04 AM   #9
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
NOW would be an even better time for the moderator to jump in

i appreciate your thanks but i'm afraid i haven't been much help yet.

sorry about the typo on dmesg. from the looks of the dmesg output, there are a lot of resource conflict related to IRQ's and I/O and they may be related to your problem. QUESTION: did you try to assign an IRQ through modprobe as suggested above?


ASSUMING THAT THE MODULE HAS LOADED:
in spite of all the conflicts, it looks like linux thinks that it has loaded the module. if you look at the first paragraph of dmesg output (about 9 lines from the bottom of the paragraph) you will see a line that looks like
Linux Tulip driver version 0.9.15-pre10 (Mar 8, 2002)
to confirm this, try:
lsmod
or
/sbin/lsmod

If the module has loaded, try at the root prompt:

ifconfig -a

ifconfig asks about your network interfaces. This should always return at least one entry related to your localhost or loop back address and should something like:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:139 errors:0 dropped:0 overruns:0 frame:0
TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0


If you are lucky, you might also see an entry like related to you pcmcia NIC that looks like:
eth0 Link encap:Ethernet HWaddr 00:E0:18:90:1B:56
inet addr:0.0.0.0 Bcast:0.0.0.255 Mask:0.0.0.0
Down BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xa800

If you see this, then try assigning an internet address or configure for DHCP using netconfig. if you need help with this, see this link for an excellent step by step explanation:
http://www.linuxheadquarters.com/how...rkconfig.shtml

ASSUMING THAT THE MODULE HAS NOT LOADED:

regarding modprobe, i would follow up providing the exact path to the module to see if any of them will install (except the ones marked "xircom"). Now there are lots of different versions of the tulip driver and its hard to know which one is correct. You may have to try them all one at a time.


try:
modprobe /lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o
modprobe /lib/modules/2.4.18-3/kernel/drivers/net/tulip_old
modprobe /lib/modules/2.4.18-3/kernel/drivers/net/tulip_old/tulip_old.o

If any of the modules loads, you will not get an error message and will instead simply be returned to your root prompt. if you get that far, then type:

ifconfig -a etc like above.


REGARDING EIP:

i can tell you what the letters stand for but that's about it. it means Extended Instruction Pointer. The register containing the memory location that the CPU is currently executing. see http://216.239.51.100/search?q=cache...hl=en&ie=UTF-8

Last edited by rioguia; 10-29-2002 at 08:19 AM.
 
Old 10-28-2002, 07:24 PM   #10
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
Hey rioguia,

When I do the modprobe assigning an IRQ this is what happens.
I typed in "modprobe tulip irq=10". The output was:

/lib/modules/.. . . tulip.o: invalid parameter parm_irq
/lib/modules/ . . . tulip.o: insmod /lib/modules . . /tulip.o failed
/lib/modules/. . . . .tulip.o: insmod tulip failed.

Also,
I don't think the module has loaded because when I execute the command lsmod this is what comes up:
Module Size Used by Not tainted
i810_audio 23008 0 (autoclean)
ac97_codec 11904 0 (autoclean) [i810_audio]
soundcore 6692 2 (autoclean) [i810_audio]
agpgart 39488 5 (autoclean)
binfmt_misc 7556 1
autofs 12164 0 (autoclean) (unused)
ds 8608 2
yenta_socket 12384 2
pcmcia_core 50752 0 [ds yenta_socket]
ipchains 43560 15
ide-cd 30272 0 (autoclean)
cdrom 32192 0 (autoclean) [ide-cd]
pegasus 13376 1
mousedev 5312 1
hid 21344 0 (unused)
input 5984 0 [mousedev hid]
usb-uhci 24484 0 (unused)
usbcore 73152 1 [pegasus hid usb-uhci]
ext3 67136 2
jbd 49400 2 [ext3]

I can't see a tulip driver here.

Also when I do any of those modprobe commands that you told me, this message comes up:
"modprobe: Can't locate module . . . . . tulip.o/tulip_old.o. . . etc.

My ifconfig has two entries
One of them is the one that is always there. (the one that starts with "lo") and the other one I think is for my Linksys USB adapter because I remember I set my USB adapter as Eth0 (you can also see in my lsmod output that it uses the Pegasus driver module).

Do you think I should just buy a new NIC, one that's a PC card not a cardbus and one that's not SMC? I prefer not to but if the only way to solve this is to throw this crap away and start anew then I guess I have no other choice.

Thanks man.
Thanks man
 
Old 10-29-2002, 09:38 AM   #11
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
until the moderator comes to our rescue ...

i'll keep plugging as long as you are willing. what make and model is your laptop. laptops use a lot of wierd hardware and there is a good reference on specific laptops at http://www.linux-laptop.net/

just a couple of specific observations. the EIP error message you reported may relate to what is referred to in the PCMCIA HOW-TO as 7.2 Interpreting kernel trap reports. This is way beyond my understanding but maybe someone else can help with this.

regarding modules, the failure of linux to find the module when you have provided the correct path is curious. i have run across this a couple of times. once it was an out-of-date compiler that didn't allow the module to compile correctly and the other time was using the wrong rpm. do any of these issues seem relevant?

regarding the beep pattern, it seems that your card is being recognized but that something is blocking the card manager from completing the install script.

open a virtual terminal. we are going to use this terminal to keep an eye on your system's error messages. we are going to see if linux know when you plug and unplug your card

type
tail -f /var/log/messages

then try plugging and unplugging your card a couple of times and see if anything is recorded in the log. if this does not generate any helpful information to report back here, then go to the next step.

next, open a second terminal (leaving the above open). we need to find the debug-tool in the subdirectory of the PCMCIA source tree. there are a couple of tools here that may be helpful.

type find / -name "*debug-tool*"

then go to http://pcmcia-cs.sourceforge.net/ftp...-3.html#ss3.10

and see how to use the tool called "test_network". i'm not at a linux terminal so i can't tell you if the test_network
tool requires any arguments. just cd into the directory where the tool is located and try ./test_network
if this doesn't work try ./test_network --help for assistance.

please note that the instructions at the link above tell you that you are also going to have to use cardmgr with the ``-v'' option. this will record script actions in the system log which should show up in your first virtual terminal.

Last edited by rioguia; 10-29-2002 at 10:15 AM.
 
Old 10-29-2002, 08:49 PM   #12
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
I have a Dell Inspiron 2500.
What do I have to do to make my compiler do what it was made to do? do I have to compile my kernel again. upgrade my kernel?

This is what came up after I typed in the tail -f /var/log/messages command and I unplugged and plugged in my card:
Oct 29 21:45:21 localhost kernel: cs: cb_free(bus 6)
Oct 29 21:45:21 localhost /etc/hotplug/pci.agent: PCI remove event not supported
Oct 29 21:45:36 localhost kernel: cs: cb_alloc(bus 6): vendor 0x1113, device 0x1216
Oct 29 21:45:36 localhost kernel: PCI: Failed to allocate resource 0(4000-2fff) for 06:00.0
Oct 29 21:45:36 localhost kernel: PCI: Failed to allocate resource 1(f4400000-f41fffff) for 06:00.0
Oct 29 21:45:36 localhost kernel: PCI: Failed to allocate resource 6(f4400000-f41fffff) for 06:00.0
Oct 29 21:45:36 localhost kernel: PCI: Enabling device 06:00.0 (0000 -> 0003)
Oct 29 21:45:36 localhost cardmgr[2620]: initializing socket 1
Oct 29 21:45:36 localhost cardmgr[2620]: unsupported card in socket 1
Oct 29 21:45:36 localhost cardmgr[2620]: no product info available
Oct 29 21:45:36 localhost cardmgr[2620]: PCI id: 0x1113, 0x1216
Oct 29 21:45:37 localhost /etc/hotplug/pci.agent: Setup tulip for PCI slot 06:00.0
Oct 29 21:45:37 localhost kernel: Linux Tulip driver version 0.9.15-pre10 (Mar 8, 2002)
Oct 29 21:45:37 localhost kernel: PCI: Unable to reserve I/O region #1:fffff000@4000 for device 06:00.0
Oct 29 21:45:37 localhost kernel: Trying to free nonexistent resource <00004000-00002fff>
Oct 29 21:45:37 localhost kernel: Trying to free nonexistent resource <f4400000-f41fffff>
Oct 29 21:45:37 localhost insmod: /lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o: init_module: No such device
Oct 29 21:45:37 localhost insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Oct 29 21:45:37 localhost insmod: /lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o: insmod /lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o failed
Oct 29 21:45:37 localhost insmod: /lib/modules/2.4.18-3/kernel/drivers/net/tulip/tulip.o: insmod tulip failed
Oct 29 21:45:37 localhost /etc/hotplug/pci.agent: ... can't load module tulip
Oct 29 21:45:37 localhost /etc/hotplug/pci.agent: missing kernel or user mode driver tulip

I think this is the same crap that comes up when I boot up and also the output when I do the dmesg thing.

Do I have to do the second test? debug-tool?

Thanks.
 
Old 10-29-2002, 08:51 PM   #13
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
Based on what it says on the /var/log/messages output, something is ridiculously wrong with my tulip module. How do I fix this?
 
Old 10-30-2002, 06:17 PM   #14
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
Regarding the second test, i don't think its necessary for three reasons:
1. your tail log indicates that
Quote:
Oct 29 21:45:36 localhost cardmgr[2620]: unsupported card in socket 1
2. your message log didn't register you pluging and unplugging your card.

3. the dmesg output from a dell inspiron 2500 shouldn't look as nasty as yours. see
http://www.babou.org/equipment/lebanon_dmesg.txt


Therefore, I'm convinced that the module is not loaded.

You probably do need to recompile your kernel because there may be some kernel configuration options that you need to address which are discussed on the linux on laptops webpage for the dell inspiron 2500. I would not normally suggest this since it cites the experience of somebody using the Debian distro. However, it does relate to the kernel so you might want to consider their experience.

Quote:
PCMCIA works with the yenta_socket module. Just select the options "PCMCIA/CardBus support" and "CardBus support" in the kernel configuration. Don't forget to change the PCIC variable in the cardmgr init-script. But since I don't own any PCMCIA cards (yet), I can't do further tests.
For a complete discussion, see http://www.4sich.de/dell/dell2500.html

I would further urge you to read this page before you buy anymore equipment so that you can get a sense of how other people facing your situation have made out. See
http://www.linux-laptop.net/

Regarding the compiler question, confirm that you have it and its version with:
gcc -v

now that i have reviewed your posts here, it seems pretty unlikely that you don't have the correct compiler. unless the laptop install doesn't provide the normal complement, it shouldn't be a problem. i think the only thing you can do right now is register for the redhat (free) basic support and use the update agent.

oh, and one more thing to consider. it may be that any resource conflict you seem to be experiencing are being compounded by switching back and forth between your two network connections.

Last edited by rioguia; 10-30-2002 at 06:18 PM.
 
Old 11-11-2002, 09:00 PM   #15
dreville
LQ Newbie
 
Registered: Oct 2002
Location: Toronto, Canada
Distribution: Red Hat Linux 7.3
Posts: 11

Original Poster
Rep: Reputation: 0
Hi rioguia! it's been a long time, I hope you're still there and you remember all this crap.
Anyway, a good friend of mine had a brand-new Xircom Cardbus Ethernet II 10/100 (CBE2-100) lying around his house and he gave it to me. Obviously this is a much better card since the brand is much more popular than the SMC in my opinion.
This has been a major disappointment and waste of time yet again. I can't get this thing to to work. I installed Mandrake 9.0 and took out my Red Hat 7.3 hoping that Mandrake would have better support. I'm not sure now if I just suck at Linux or it's not just meant for me to run this OS.
I've been doing some research on the Internet and some blessed people miraculously were able to get this card working, even right out of the box. One guy got his working with Red Hat 7.2. He said he just had to compile a newer kernel (2.4.17) and it worked. Another guy got it working with SuSe. You think I should try SuSE and see if it works?
Tell me what info you want and I'll post it, anything just to get this card working.
Thanks man
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris newbie -- help with 3COM ethernet card btmiller Solaris / OpenSolaris 2 05-04-2004 04:23 PM
Installing new Ethernet Card in an Existing Linux Box ako Linux - Networking 3 01-08-2004 06:49 AM
installing an ethernet card driver cmack Slackware 1 08-24-2003 06:09 PM
Installing Ethernet card and ASDL modem in Vecotr linux davholla Linux - Hardware 4 06-13-2003 04:10 AM
Newbie needs help configuring a Asound Ethernet 100/10m Card. budest Linux - Hardware 10 12-30-2002 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration