Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: system freeze at boot ond cardmgr, pcmcia problem< Next Oldest | Next Newest >
seuchato Offline





Group: Members
Posts: 20
Joined: Aug. 2006
Posted: Dec. 07 2006,14:20 QUOTE

Hi there
I got these sweet single board computers:
- AMD Am5x86-WB stepping 04, 133 MHz, 32MB Ram
- I installed a PC104 PCMCIA module on it, to add some more functionality.
When I boot with DSL 3, it just goes all fine until

PCMCIA detected, starting cardmgr

Then reboots. There are some posts around which describe similar problems. However their solution is not applicable in this case.

I can do the following on command line and reproduce the error systematically:
Quote
insmod pcmcia_core
insmode i82365
insmod ds
lsmod
Module                  Size  Used by    Not tainted
ds                      6228   0  (unused)
i82365                 12388   2
pcmcia_core            39460   0  [ds i82365]
af_packet              13672   0  (autoclean)
...
dmesg
...
eth0: NE2000 found at 0x220, using IRQ 5.
Linux Kernel Card Services 3.1.22
 options:  [pci] [cardbus] [pm]
Intel ISA PCIC probe:
 Ricoh RF5C296/396 ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets
   host opts [0]: none
   host opts [1]: none
   ISA irqs (scanned) = 3,4,7,9,10,11,15 status change on irq 15

pcic_probe
PCI bridge probe: not found.
Intel PCIC probe: not found.
Databook TCIC-2 probe: not found.
cardmgr -v
cardmgr[611]: watching 2 sockets


with that it reboots.

So it detects the right pc104 pcmcia controller. IRQS look OK to me as there are (currently) no RS232/LPT ports activated.

Do I need yet other modules before I cand invoke cardmgr?
What else?

greets chris
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 07 2006,22:55 QUOTE

Does the boot option pci=assign-busses help?

Have you tried some of these other boot time options:

pnpbios=off
pci=bios

Are you sure no irq conflict?
one way to check is with
dmesg | grep -i irq
Back to top
Profile PM WEB 
seuchato Offline





Group: Members
Posts: 20
Joined: Aug. 2006
Posted: Dec. 08 2006,20:08 QUOTE

Hi roberts

Thanks for your reply, here are the results from your suggestions:
First I tested the options you suggetsted isolated, one by one

>Does the boot option pci=assign-busses help?
No it did not
>Have you tried some of these other boot time options:
>pnpbios=off
neither
>pci=bios
neither

>Are you sure no irq conflict?
pretty much yes, see also below

>one way to check is with
>dmesg | grep -i irq
Quote

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ne.c: ISAPnP reports Generic PNP at i/o 0x220, irq 5.
eth0: NE2000 found at 0x220, using IRQ 5.
   ISA irqs (scanned) = 3,4,7,9,10,11,15 status change on irq 15


here are the kernel options and combinations I tested:
Quote

#Not working:
#kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi 3 frugal
#kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi pci=assign-busses 3 frugal
#kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi pnpbios=off 3 frugal
#kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi pci=bios 3 frugal
kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi pci=bios pci=assign-busses pnpbios=off 3 frugal

all above: no success :-[
this one boots actually
Quote

kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noscsi 3 nopcmcia frugal


This is my /etc/pcmcia/config.opts, I left /etc/pcmcia/config untouched
Quote

cat /etc/pcmcia/config.opts
#


include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff


include port 0xa00-0xaff


exclude irq 4
exclude irq 5
exclude irq 7

if I do
Quote

insmod pcmcia_core
insmod i82365

dmesg lists above output still showing irq 4 and 7. Is that right?
Back to top
Profile PM 
seuchato Offline





Group: Members
Posts: 20
Joined: Aug. 2006
Posted: Dec. 11 2006,23:02 QUOTE

Hi there

Got it resolved, thought it was worth while to feed back my experiences:

Your friends are:

tataaa:

Quote

insmod pcmcia_core
insmod i82365
dmesg


After insmod i82365, demsg will show you what  ports it has used. Before you continue, edit your /etc/pcmcia/config.opts correspondingly. That means :

- set ports
- memory
- in / exclude irqs accordingly

HTH
chris
Back to top
Profile PM 
edmastro Offline





Group: Members
Posts: 2
Joined: Jan. 2007
Posted: Jan. 03 2007,19:32 QUOTE

Hi Chris,

I am having the same problem that you were having by not being able to boot with PCMCIA hardware detection.  I can boot fine with the dsl nopcmcia commandline option, however my NIC is a pcmcia device so I need DSL to detect my NIC so i can enable networking, etc.  I am kind of a linux noob so i was hoping that you could describe in just a little bit more detail how you figured out which ports are being used and how you edited your /etc/pcmcia/config.opts file.  

Entering
Code Sample
dmesg | grep -i irq

gets me:

Code Sample

ACPI:  IRQ9 SCI: Edge set to Level Trigger.
ACPI:  PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI:  PCI Interrupt Link [LNKB] (IRQs 5 *7)
ACPI:  PCI Interrupt Link [LNKC] (IRQs 9 10 11)
ACPI:  PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11)
ACPI:  PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI:  PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI:  PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI:  Using ACPI for IRQ routing
ICH2M: not 100% native mode: will probe irqs later
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
usb-uhci.c: USB UHCI at I/O 0xdce0, IRQ 10
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
parport0: irq 7 detected
maestro3: Configuring ESS Maestro3(i) found at IO 0xEC00 IRQ 5


This is what my /etc/pcmcia/config.opts file looks like:
Code Sample

include port 0x100-0x4ff , port 0x800-0x8ff, port 0xc00-0xcff
include memory 0xc000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff

include port 0xa00-0xaff

exclude irq 4
exclude irq 7


Any help is GREATLY appreciated!!! Thanks in advance!  :)
Back to top
Profile PM 
6 replies since Dec. 07 2006,14:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: system freeze at boot ond cardmgr

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code