LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-13-2006, 01:17 AM   #1
Ander
Member
 
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37

Rep: Reputation: 15
No PCMCIA on HP Pavilion laptop (help!)


Hi everybody,

I'm having a devil of a time getting a PCMCIA NIC to work on my HP Pavilion with Kanotix 2005-4 Lite.

I've been posting about it on the Kanotix forum, but no one there seems to know what I can do. So with your kind indulgence, I'd like to repost my messages here (below). If any of you have a clue about this, or would like me to post more specific info, please let me know. Thanks!!

(Posts are separated by "===" lines)

- - - - - -

Hi everybody,

I've installed Kanotix Lite 2005-4 on my HP Pavilion N5350 portable. When I boot, Kanotix doesn't recognize my PCMCIA NIC; when I run KSystemInfo, it says both PCMCIA slots are "empty"---even though my NIC is plugged in as always.

The strange thing is, when I boot from the Kanotix CD, it always recognizes my NIC and I can use it with no problem (after running network configuration).

Have any idea what I can do? If I can post some specific info here (log entries, command output, etc.), please let me know.

BTW, I did read a post here from someone else with this problem. I tried the two suggestions:

> "Run "My PPPoE Conf" from the Kanotix menu."

When I tried this, I got "Error: no Access-Concentrator found".

> "Try running dhclient"

This gave me the message, "No DHCPOFFERS received. No working leases in persistent database."

(My God, what does all that mean?) Thanks for your help!

==============================================

Here's what lspci says about my PCMCIA NIC:

0000:06:00:0 Realtek RTL-8139/8139C/8139C+
"CardBus Ethernet 10/100 (R5)"
manfid: 0x260, 0x235

==============================================

Hi again,

Okay, here's some more info, in case it'll help... (Sorry if there's irrelevant stuff here---I'm just learning about all this...)

I read that some people solved this by adding "acpi=off pci=routeirq" (no quotes) to their boot line---so I tried it, but it didn't seem to help.

During boot, several error messages appear about eth0---but they scroll too quickly for me to catch them. How can I capture them? (I remember seeing this: "Configuring network interfaces... Error while configuring interface flags: No such device.")

I tried checking /var/log/messages (that's the system log, right?), but the only related entries are things like this:

> kernel: eth0: RealTek RTL8139 at 0xd0f2a000, 00:e0:4c:39:06:f5, IRQ 11
> kernel: pcmcia: Detected deprecated PCMCIA ioctl usage.
> kernel: pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
> kernel: pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.

Here's my my /etc/network/interfaces file:

- - -

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.100.40.17
netmask 255.255.255.0
network 10.100.40.0
broadcast 255.255.255.255
gateway 10.100.40.1

iface dsl-provider inet ppp
provider dsl-provider

- - -

And here are results of related commands:

- - -

ander$ ifconfig -a
lan0 Link encap:Ethernet HWaddr 00:E0:4C:39:06:F5
BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

- - -

NOTE: When I remove the PCMCIA NIC, reinsert it, then run "ifconfig -a" again, the same results appear---except "lan0" is changed to "eth0".

When I run "ifconfig" (no params), it shows only the "lo" info.

I can then run netcardconfig and say "yes" to "Use DHCP"---and when it's done, ifconfig (no params) says this:

eth0 Link encap:Ethernet HWaddr 00:E0:4C:39:06:F5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9660 (9.4 KiB) TX bytes:1710 (1.6 KiB)
Interrupt:11 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

- - -

ander$ cardctl ident
Socket 0:
no product info available
manfid: 0x0000, 0x0000
Socket 1:
no product info available
ander$ cardctl status
Socket 0:
3.3V CardBus card
function 0: [ready]
Socket 1:
no card

ander$ cardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

- - -

root$ ifup eth0
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.

root$ cardctl config
Socket 0:
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
interface type is "cardbus"
irq 11 [exclusive] [level]
function 0:
Socket 1:
not configured

- - -

Though the yenta_socket module (for PCMCIA) is loaded (see below), this command brings no response:

ander$ modprobe yenta_socket

Finally, here are my loaded modules:

- - -

ander$ lsmod
Module Size Used by
lp 9672 0
video 14212 0
thermal 10888 0
processor 18748 1 thermal
fan 3460 0
container 3328 0
button 5008 0
battery 7684 0
ac 3460 0
pcmcia 31268 4
fuse 30220 0
capability 3208 0
commoncap 5248 1 capability
snd_maestro3 21028 1
snd_ac97_codec 86048 1 snd_maestro3
snd_ac97_bus 1920 1 snd_ac97_codec
snd_pcm_oss 47264 0
snd_mixer_oss 15488 1 snd_pcm_oss
snd_pcm 76808 3 snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_timer 20740 1 snd_pcm
snd_page_alloc 8072 1 snd_pcm
snd 45156 8 snd_maestro3,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
usbhid 45024 0
soundcore 7392 1 snd
i2c_piix4 7568 0
8139too 23168 0
mii 4352 1 8139too
parport_pc 35908 1
parport 30536 2 lp,parport_pc
uhci_hcd 29712 0
usbcore 102912 3 usbhid,uhci_hcd
intel_agp 19100 1
agpgart 27592 1 intel_agp
psmouse 33028 0
serio_raw 5508 0
shpchp 86884 0
pci_hotplug 24372 1 shpchp
yenta_socket 22924 5
rsrc_nonstatic 10880 1 yenta_socket
pcmcia_core 34448 3 pcmcia,yenta_socket,rsrc_nonstatic
pcspkr 3424 0
evdev 7296 1

- - -

Please let me know if there's anything else I can post. I sure apppreciate your help!

==============================================


search:
netcardconfig dhcp "interface enabled" "do you want it enabled at reboot"

search:
"cannot allocate resource region 4 of device 0000:00:07.1"

ALSO POST THIS on Debian forum. Then SAVE & copy it to a KN subnote (for my records).

Hi again,

Okay, here's some more info, in case it'll help... (Sorry if there's irrelevant stuff here---I'm just learning about all this...)

I read that some people solved this by adding "acpi=off pci=routeirq" (no quotes) to their boot line---so I tried it, but it didn't seem to help.

During boot, several error messages appear about eth0---but they scroll too quickly for me to catch them. How can I capture them? (I remember seeing this: "Configuring network interfaces... Error while configuring interface flags: No such device.")

I tried checking /var/log/messages (that's the system log, right?), but the only related entries are things like this:

> kernel: eth0: RealTek RTL8139 at 0xd0f2a000, 00:e0:4c:39:06:f5, IRQ 11
> kernel: pcmcia: Detected deprecated PCMCIA ioctl usage.
> kernel: pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
> kernel: pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.

Here's my my /etc/network/interfaces file:

- - -

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.100.40.17
netmask 255.255.255.0
network 10.100.40.0
broadcast 255.255.255.255
gateway 10.100.40.1

iface dsl-provider inet ppp
provider dsl-provider

- - -

And here are results of related commands:

- - -

ander$ ifconfig -a
lan0 Link encap:Ethernet HWaddr 00:E0:4C:39:06:F5
BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

- - -

NOTE: When I remove the PCMCIA NIC, reinsert it, then run "ifconfig -a" again, the same results appear---except "lan0" is changed to "eth0".

When I run "ifconfig" (no params), it shows only the "lo" info.

I can then run netcardconfig and say "yes" to "Use DHCP"---and when it's done, ifconfig (no params) says this:

eth0 Link encap:Ethernet HWaddr 00:E0:4C:39:06:F5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9660 (9.4 KiB) TX bytes:1710 (1.6 KiB)
Interrupt:11 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

- - -

ander$ cardctl ident
Socket 0:
no product info available
manfid: 0x0000, 0x0000
Socket 1:
no product info available
ander$ cardctl status
Socket 0:
3.3V CardBus card
function 0: [ready]
Socket 1:
no card

ander$ cardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

- - -

root$ ifup eth0
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.

root$ cardctl config
Socket 0:
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
interface type is "cardbus"
irq 11 [exclusive] [level]
function 0:
Socket 1:
not configured

- - -

Though the yenta_socket module (for PCMCIA) is loaded (see below), this command brings no response:

ander$ modprobe yenta_socket

Finally, here are my loaded modules:

- - -

ander$ lsmod
Module Size Used by
lp 9672 0
video 14212 0
thermal 10888 0
processor 18748 1 thermal
fan 3460 0
container 3328 0
button 5008 0
battery 7684 0
ac 3460 0
pcmcia 31268 4
fuse 30220 0
capability 3208 0
commoncap 5248 1 capability
snd_maestro3 21028 1
snd_ac97_codec 86048 1 snd_maestro3
snd_ac97_bus 1920 1 snd_ac97_codec
snd_pcm_oss 47264 0
snd_mixer_oss 15488 1 snd_pcm_oss
snd_pcm 76808 3 snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_timer 20740 1 snd_pcm
snd_page_alloc 8072 1 snd_pcm
snd 45156 8 snd_maestro3,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
usbhid 45024 0
soundcore 7392 1 snd
i2c_piix4 7568 0
8139too 23168 0
mii 4352 1 8139too
parport_pc 35908 1
parport 30536 2 lp,parport_pc
uhci_hcd 29712 0
usbcore 102912 3 usbhid,uhci_hcd
intel_agp 19100 1
agpgart 27592 1 intel_agp
psmouse 33028 0
serio_raw 5508 0
shpchp 86884 0
pci_hotplug 24372 1 shpchp
yenta_socket 22924 5
rsrc_nonstatic 10880 1 yenta_socket
pcmcia_core 34448 3 pcmcia,yenta_socket,rsrc_nonstatic
pcspkr 3424 0
evdev 7296 1

- - -

Please let me know if there's anything else I can post. I sure apppreciate your help!

==============================================
 
Old 03-13-2006, 03:52 PM   #2
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
In Slackware I added the following line to the /etc/rc.d/rc.M

Code:
setpci -s 0:a.0 SUBORDINATE_BUS=0x0A
quite after the line

Code:
# Initialize PCMCIA devices:
#
# NOTE: This used to be started near the top of rc.S so that PCMCIA devices
# could be fsck'ed along with the other drives.  This had some unfortunate
# side effects, however, since root isn't yet read-write, and /var might not
# even be mounted the .pid files can't be correctly written in /var/run and
# the pcmcia system can't be correctly shut down.  If you want some PCMCIA
# partition to be mounted at boot (or when the card is inserted) then add
# the appropriate lines to /etc/pcmcia/scsi.opts.
#
and pcmcia-cards work fine.

There is a problem with some HP notebooks (I think zv5000 and following numbers), that pcmcia-cards are absent without adding the mentioned line during the boot process and before starting and loading pcmcia.

Fluxx.
 
Old 03-13-2006, 05:56 PM   #3
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Check out linux-on-laptops and tuxmobile for linux install notes on your lappy model. There are several debian install notes on HP lappys that may help you with pcmcia. Some HP lappys need BIOS and other updates. Check with HP support. Good luck.
 
Old 05-05-2006, 01:55 AM   #4
Ander
Member
 
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks, guys!
 
  


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
FC3 On HP ZE4800 Pavilion Laptop AshTray900 Fedora 1 11-21-2005 08:05 PM
SuSE 9.1 / HP Pavilion zd7000 laptop basd Linux - Laptop and Netbook 2 12-25-2004 09:04 PM
Linux on an HP Pavilion n3270 laptop WingNut Linux - Hardware 2 08-24-2004 04:36 AM
HP Pavilion ze4400, PCMCIA, NdisWrapper, and Kernel woes jhayden Linux - Laptop and Netbook 2 08-18-2004 12:03 AM
Redhat 9.0 on hp pavilion ze4125, pcmcia not working kahmed Linux - Hardware 0 10-01-2003 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:15 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