Member
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37
Rep:
|
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!
==============================================
|