LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 05-07-2005, 04:27 PM   #1
Grampa
LQ Newbie
 
Registered: May 2005
Distribution: Amigolinux
Posts: 11

Rep: Reputation: 0
PC Cards not recognized on Portege/Amigo


I have an old Toshiba Portege 7020 (Win 98) on which I loaded Amigolinux 2.0, kernel 2.4.25, based on Slackware 9.1. I chose that distro because my floppy and CD drives are flaky. This is my first experience with Linux.

I can boot fine, and most things seem to work, but my PCMCIA slot does not recognize any cards (without that, the Toshiba is totally cut off from my other computers, the internet, etc., so it's difficult even to post error messages).

I think the core or socket driver may not be loading. I get the following error messages at bootup:

"can't synthesize pci hotplug events"
"can't synthesize root hub events"

I believe these messages are produced by /etc/hotplug/pci.rc and /etc/hotplug/usb.rc, respectively. When I look at those scripts, they both contain the following text (substitute "usb" for "pci" in usb.rc, and use the second error message above):

LISTER='type -p pcimodules
if [ $LISTER" = "" -o ! -f /proc/bus/pci/devices -o ! -x pci.agent ]; then echo $"** can't synthesize pci hotplug events"
return
fi

Both scripts also refer to a "FIXME" on 2.5 relating to /sys/bus/pci/devices or /sys/bus/usb/devices, the lspci command, and "pcimodules," which they warn may not exist. My version of Linux does not have those directories, the lspci command, or pcimodules.

I did look at /proc/bus/pci and /proc/bus/usb, which I believe are in ram. The /usb directory has a file for "devices" and "drivers," both of which appear to be empty. The /pci directory only has a file for "devices," also empty. I don't know what this means, but it leads me to suspect that the pci driver is not loading. FWIW, the USB port does appear to work, or at least light up.

It does appear that both PCMCIA sockets are recognized. They are correctly identified in /etc/sysconfig/hwconf, which reads as follows:

class: SOCKET
bus: PCI
detached: 0
driver: yenta_socket
desc: "Toshiba ToPIC97"
vendorID: 1179
subDeviceID: 0001
pciType: 1
pcibus: 0
pcidev: b
pcifn: 0

The second socket has an identical listing. I believe they are listed elsewhere as well (e.g., /boot/config.txt).

Other possibly relevant boot-up messages include the following, in order:

PCI: Cannot allocate resource region 4 of device 00:05.1
Limiting direct PCI/PCI transfers.

ppa: Version 2.07 (for Linux 2.4.x)
WARNING - no ppa compatible devices found

kmos: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
kmos: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
kmos: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2

proc on /proc type proc (rw)
mount: mount point /proc/bus/usb does not exist

** can't synthesize pci hotplug events

PCI: Found IRQ 11 for device 00:05.2
PCI: Sharing IRQ 11 with 00:0c.0
PCI: Sharing IRQ 11 with 00:0d.0 [I think these are the card slots]

**can't synthesize root hub events


I'm wondering whether the inability to allocate memory resource region 4 could be a factor. Also whether the lack of a mount point at /proc/bus/usb could be a factor.

Anyway, I apologize for the very long post, but I though the information might save a lot of questions. I also want to make clear that I worked pretty hard to figure this out. If anyone has a suggestion of things to check or other steps to take, I'd appreciate the input. I am a total novice where Linux is concerned, but this has been a learning experience.
 
Old 05-14-2005, 08:36 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,397

Rep: Reputation: 81
pcimodules is *NOT* in pciutils 2.1.11.

Check if
distro.ibiblio.org/pub/linux/distributions/ uos/sputnik/patches/pcimodules-pciutils-2.1.8.diff
helps.
 
Old 05-15-2005, 08:55 PM   #3
Grampa
LQ Newbie
 
Registered: May 2005
Distribution: Amigolinux
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks. I will look at this, kaz2100. But my distro does not have pcimodules, pciutils, OR lspci, so I doubt it will work.

I have made some progress since my last post, however. Perhaps someone can offer a suggestion. I found that the modules were not loading automatically.

Specifically, I needed first to change the bios setting in my laptop from PCIC to 16 bit/Cardbus or Automatic, then use modprobe to load yenta_socket (which in turn loads pcmcia_core), and finally use modprobe to load da. THEN, if I insert a 3com575 card into the slot, it automatically loads 3c59x, and the card is recognized as an eth0. This is a great help, because now I can use this card to connect to my network and to the internet.

However, other cards are still not properly recognized. Specifically, I want to use my Orinoco WiFi card. I have tried using modprobe to load orinoco_cs, but it does not turn the card on, and the device is not found by ifconfig. This is strange, because I can run Kudzu, and it sees an Orinoco card in the slot. It is just not configuring that card so that it is recognized as eth0 or whatever.

If anyone has any ideas, I would appreciate the help.
 
Old 05-16-2005, 09:05 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,397

Rep: Reputation: 81
pciutil, I found at www.debian.org (actually, I am using Debian woody.)

pcimodules does not exist in that package.

I found pcimoduels in Slackware 10.1 package.

However, I cannot find its source.

I only found diff file, which looked similar to the one I posted




But:
With 2.4.29 kernel, it seems to be okey without pcimodules, (although hotplug complains, it is not an error)

Also:
I have same problem as you have, module does not load automatically. I have to modprobe everytime.

Last edited by kaz2100; 05-16-2005 at 09:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Amigo 2 and amigo II fluxbox mazebane Amigo 2 12-29-2004 04:03 AM
Portege 7220 Speedstep and Gentoo hakktheplanet Linux - Laptop and Netbook 1 11-21-2004 12:29 AM
Wireless network cards, recognized out of the box fatrandy13 Linux - Wireless Networking 6 07-04-2004 12:21 AM
Toshiba Portege 3015CT Gerardoj Linux - Laptop and Netbook 1 03-27-2004 09:16 AM
1024x600 on Portege 300CT coujeaux Linux - Laptop and Netbook 6 10-24-2003 03:08 PM


All times are GMT -5. The time now is 02:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration