[Prism54-devel] [Bug 28] New: Activating 3 cards and rebooting(both soft and hard) cause hanging computer after detecting disk with bios

bugzilla-daemon@mcgrof.com bugzilla-daemon@mcgrof.com
Mon, 26 Jan 2004 07:12:32 +0000 (UTC)


http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=28

           Summary: Activating 3 cards and rebooting(both soft and hard)
                    cause hanging computer after detecting disk with bios
           Product: prim54
           Version: 1.0.2.2
          Platform: ia32
        OS/Version: All
            Status: RESOLVED
          Severity: blocker
          Priority: P1
         Component: Device Driver
        AssignedTo: prism54-devel@prism54.org
        ReportedBy: pns@post.cz
                CC: Jens.Maurer@gmx.net


I have tested 2-3 smc 54prism based cards(all cards together) under both kernel
2.4.23 and 2.6.0 everythings work fine but after restarting computer hangs after
or in bios harddisk detecting i try to change mobo from via kt600 to kt133a
problem persist .. changing to SIS still .. firmware seems to stay in card after
reboot both soft and hard. This happen in managed mode.  I try to use master
mode and i was able to connect to ap in restarting computer and led still
shining. i use different firmwares : latest and 1.0.3.0(this is use in windoes
drivers, under win xp all works well (seems to:))). In one case computer
override disk detection and system boot but isl_3xxx cause kernel panic (i think
this is due the fact that firmware is in card and driver was unable to put
firmware up to the card).

------- Additional Comments From slts@free.fr  2003-12-23 19:28 -------
I think this is because the card is not properly stopped by the driver. I'll take a look at this asap.

------- Additional Comments From pns@post.cz  2003-12-24 20:00 -------
lo , ya probably partialy right, but in case computer is restarted by reset
button / for example after some crash or oops / this happens also - in that case
driver has no opportunity to stop card in proper way. But when we try to restart
one of PC where we have tested this under windoze, problem doesn't appear, aka
PC boots normaly. So we guess problem is more likely in initial firmware load or
card inicialization. But we are not developers so ... :)  We will continue to
inform ya  about anything we will get during tersting, atm problem appears when
more than one card is placed in PC ( tried 3 pcs with VIA KT600, KT133A , SiS
740) and with every drivers /firmware obtained from prism54.org. If one card is
used this problem appeared only during 1 of 15 testing reboots. IF three or more
SMC EZ-Connect 2802WEU cards are used this happens during every reboot , but
only if one or more cards have been "ifconfig uped" under linux. If we start
windoze and allow all cards to work, after reboot - either attended and
unattended - all works fine and no hang of pc appears ... about 20 testing
reboots made for this cause.
THX for your work, it is much appreciated, if ya need some details or
cooperation with testing or stuff, let us know.

Pavel

------- Additional Comments From slts@free.fr  2003-12-25 11:31 -------
when you press reset button, where does it hangs ? when loading firmware or in bios.
Could you make a precise list of behavior please :
e.g. :
  shutdown : locks in bios
  reset button : locks in ...

Thanks, it will be helpfull in ordrer  to undertand what's happening.

...And justice for all

------- Additional Comments From pns@post.cz  2003-12-25 12:36 -------
this way : 
power down = no hang
unclean reboot of windoze (with reset button) = no hang
clean reboot of windoze = no hang
clean reboot with linux or unclean reboot of linux = post is ok , on mobo with
sata it hangs during detecting  sata drivers by sata raid controler , aka
booting of OS isn't even started same with mobo with chipset KT133 ... it hangs
during the hdd detection by BIOS ,booting of linux not even has begun . This
behaviour we mostly observed after cards have been initilaised under kernel
2.4.23 and variants. Under kernel 2.6.0 we observed slightly another behaviour,
in most cases, pc hasn't hang up during bios detection of devices, even linux
booted ok, but when did modprobe prism54 pc hangs without any kernel
oopses/panic/etc.But even with 2.6.0 in few cases PCs have locked during BIOS
detecting. 
linux unclean /clean with no ifconfig up of card = on any kernels no hangs after
reboot, even we could do modprobe prism54 on 2.6.0 and without ifconfig up 
no hang after reboot

we will start testing again immidiately and will try to be more precise ..expect
another and more sophisticated testing report in few hours :)
thx, Pavel

and btw ... And justice for all .. at least for those who have enough money to
buy it ;P



------- Additional Comments From pns@post.cz  2003-12-25 19:40 -------
We do some test and here is results : using kernel 2.4.23 with 1 card and
setting master mode card work until reset after reset either clean or hard comp
boot ok linux boot ok client has been connected during reboot and after module
load, module load ok but computer crash after several minutes without ifconfig
up device with kernel panic : bug at isl_38xx.h:165 invalid operadn 0000 or
hangs wihtout anything. setting up master mode and reset booting windows client
losed signal during windows start up and rebooting to linux ok. 
 Testing with 1 card setting up in managed mode with 1 to 3 cards everything
seems ok but card was only been setting up not connected. Putting them into the
router computer cards connected but disasociating ( usually only one works, one
lose signal and trying to connect the last connected but unable to ping (signal
-79 to -81 db, everyone separet works ok)). After reset computer hangs in
inicializing driver ... so setting up card without connecting them = work, but
when cards connect and rebooting the computer, cards hangs computer.
so the problems seems to be similar to master mode where cards work not only
looking for signal but ... :)
more test will be executed :)
Have a nice day

------- Additional Comments From pns@post.cz  2004-01-05 12:43 -------
Working one card in router seems to be stable but bigger packet lost with
comparasion prism 2,5 or ralink chipset. I am downloading daily snapshots and
trying all of them :) Not tested latest from 4.jan.04 will do tonight but all of
them got problems with module loading after reset .. only one card cause
computer to hangs sometimes not everytime like with master mode reporterd before. 

------- Additional Comments From Jens.Maurer@gmx.net  2004-01-07 23:01 -------
Created an attachment (id=1)
patch to turn off the card on "ifconfig down"


------- Additional Comments From Jens.Maurer@gmx.net  2004-01-07 23:04 -------
The attached patch turns off the card on "ifconfig ... down".  My guess is that
the card is still active across a reboot and causes interrupts or somesuch
during the BIOS reboot sequence that confuse your computer.
At least a "soft" reboot should now turn off the radio on your cards, and
let them come back nicely.  Please try it out.
I'm not sure what we can do for the "reset button" case, since we need to keep
the card in a working state during normal operation, and a "reset button" comes
out of nowhere, and we can't react to it.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.