[hcflinux] Kernel oops upon initialisation

Mike Tyson mike at tzidesign.com
Mon Mar 22 16:46:28 EST 2004


G'day!

I'm having a few issues with the latest hcfusb drivers..

I have a 600mhz G3 (white) ibook.
I've made myself a shell script to dial, which basically does a:

sudo sh -c "
        cp /etc/hcfusb/backup/current.inf /etc/hcfusb;
        modprobe hcfusbserial;
        sleep 5;
        pon;
        "
(As /etc/hcfusb/current.inf is corrupted as soon as the drivers are
loaded, I have to restore a backup every time I dial... =) No biggie)
This can work quite happily sometimes, but initialisation of the hcfusb
driver causes a kernel oops if the computer has been put to sleep
previously.  If I reboot, then initialise the drivers and dial, it works
perfectly.

The oops (Actually, there are two...):


May 17 15:35:44 localhost modprobe: Note: /etc/modules.conf is more
recent than /lib/modules/2.4.20-ben10/modules.dep
May 17 15:35:44 localhost pppd[1957]: pppd 2.4.1 started by root, uid 0
May 17 15:35:44 localhost kernel: Oops: kernel access of bad area, sig:
11
May 17 15:35:44 localhost kernel: NIP: D980C2D0 XER: 20000000 LR:
D980D3D8 SP: D1C19DF0 REGS: d1c19d40 TRAP: 0300    Tainted
: P 
May 17 15:35:44 localhost kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1
IR/DR: 11
May 17 15:35:44 localhost kernel: DAR: 00000000, DSISR: 40000000
May 17 15:35:44 localhost kernel: TASK = d1c18000[692]
'cnxtusbhcf_mdmth' Last syscall: 38 
May 17 15:35:44 localhost kernel: last math c0bea000 last altivec
00000000
May 17 15:35:44 localhost kernel: GPR00: D980D3D8 D1C19DF0 D1C18000
D5CCB8B8 00001032 00000000 D1C19E14 00000000 
May 17 15:35:44 localhost kernel: GPR08: FFFFFFFF D638DD00 D1C19E10
D638DD00 48224422 101D56DC 00000000 00000000 
May 17 15:35:44 localhost kernel: GPR16: 7FFFE764 00000001 00000003
00000000 00009032 14F7FF40 00000000 D9810000 
May 17 15:35:44 localhost kernel: GPR24: D9809000 D9E721F8 349DCD6A
00000000 D9810000 D9810000 D5CCB8B8 00000000 
May 17 15:35:44 localhost kernel: Call backtrace: 
May 17 15:35:44 localhost kernel: 00000002 D980D3D8 D984C058 D984F21C
D984C94C D98411A0 D9834FCC 
May 17 15:35:44 localhost kernel: D98654E8 D9863690 D9815D14 D9857214
D986DAF4 D986D704 D980B4E0 
May 17 15:35:44 localhost kernel: C001C54C D980B778 C0008600 
May 17 15:35:45 localhost chat[1960]: timeout set to 30 seconds
May 17 15:35:45 localhost chat[1960]: abort on (BUSY)
May 17 15:35:45 localhost chat[1960]: abort on (NO CARRIER)
May 17 15:35:45 localhost chat[1960]: abort on (VOICE)
May 17 15:35:45 localhost chat[1960]: abort on (NO DIALTONE)
May 17 15:35:45 localhost chat[1960]: abort on (NO DIAL TONE)
May 17 15:35:45 localhost chat[1960]: abort on (NO ANSWER)
May 17 15:35:45 localhost chat[1960]: abort on (DELAYED)
May 17 15:35:45 localhost chat[1960]: send (ATZ^M)
May 17 15:35:45 localhost kernel: Oops: kernel access of bad area, sig:
11
May 17 15:35:45 localhost kernel: NIP: C0013820 XER: 00000000 LR:
C0013804 SP: D1C19DA0 REGS: d1c19cf0 TRAP: 0300    Tainted
: P 
May 17 15:35:45 localhost kernel: MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1
IR/DR: 11
May 17 15:35:45 localhost kernel: DAR: 10010000, DSISR: 40000000
May 17 15:35:45 localhost kernel: TASK = d1c18000[1960] 'chat' Last
syscall: 4 
May 17 15:35:45 localhost kernel: last math d15fe000 last altivec
00000000
May 17 15:35:45 localhost kernel: GPR00: 00001032 D1C19DA0 D1C18000
00000000 00000000 00000001 CD180000 00000000 
May 17 15:35:45 localhost kernel: GPR08: 00000000 10010000 00000001
0FF78ED4 44008468 1001C820 00000000 00000000 
May 17 15:35:45 localhost kernel: GPR16: 00000000 00000000 00000000
00000000 00009032 11C19F40 00000000 C0005F70 
May 17 15:35:45 localhost kernel: GPR24: C00FD7B8 CF6BE000 00000001
00000001 00000003 D981096C D1C19FD0 D1C19DA0 
May 17 15:35:45 localhost kernel: Call backtrace: 
May 17 15:35:45 localhost kernel: 00000000 D980B5DC D98B40DC D98B4148
D98B5210 D98B523C D98B5B00 
May 17 15:35:45 localhost kernel: C00FD9C4 C00FBB7C C00F948C C003C790
C0005D3C 10002B74 10002C50 
May 17 15:35:45 localhost kernel: 10002D7C 10002A2C 100013C8 10001168
0FEC3E04 00000000 
May 17 15:35:45 localhost pppd[1957]: Connect script failed




I attempted an 'hcfusbstop', then got a 'device busy' type error... I
tried a 'poff', then recieved a kernel panic.. All I got down was "TASK:
'swapper'".
This happened a couple of times before, and I've attempted to reboot the
computer immediately, and recieved a kernel panic upon halt (before the
halt process completed)...
After the system restarts, my system clock is always set to Fri, Jan 1,
13:43 1904, or thereabouts.


I had a look through the system log to see if there were any problems
with sleep/restore, but didn't find much, apart from some
Usb*CompletionRoutine errors, which may or may not be relevant:


May 17 14:19:26 localhost kernel: PCI: Enabling bus mastering for device
10:18.0
May 17 14:19:26 localhost kernel: usb-ohci.c: USB continue: usb-10:18.0
from host wakeup
May 17 14:19:26 localhost kernel: PCI: Enabling bus mastering for device
10:19.0
May 17 14:19:26 localhost kernel: usb-ohci.c: USB continue: usb-10:19.0
from host wakeup
May 17 14:19:26 localhost kernel: eth0: resuming
May 17 14:19:26 localhost kernel: osusb.c:
UsbReceiveDataCompletionRoutine: error: URB status -110
May 17 14:19:26 localhost kernel: osusb.c: UsbNotifyCompletionRoutine:
error: URB status -110
May 17 14:19:28 localhost last message repeated 44 times
May 17 14:19:28 localhost kernel: usb.c: USB disconnect on device
10:19.0-2 address 2
May 17 14:19:28 localhost kernel: adb: starting probe task...



I'm running kernel 2.4.20-ben10 with Debian unstable.  I'm using the
hcfusbmodem-0.99lnxtbeta03042703ppc drivers.


Thanks in advance!

Mike


-- 
Mike Tyson
Mob. 0407 754 124

PGP key: http://www.ivt.com.au/gpg/mike.tyson.gpg
(Fingerprint A1CC 95A5 7A0D ADB6 F1A5  A24F FDE8 A1FA 011B EE94)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.linuxant.com/pipermail/hcflinux/attachments/20030517/59f62eb6/attachment.bin


More information about the hcflinux mailing list