Greetings, I just had something pretty suprising happen. After watching some movies while using bittorrent and listening to xmms, I turned off my HP 3320 USB printer. The machine immediately completely froze. I had to reset. In /var/log/messages, I found this: =================== goryGroup.getAttribute("char_index")); if (index && index >= 0) indexM = index; switch (category) { case "AccentUpper": // Uppercase Diacritical CategoryGroup.selectedItem = AccentUpper; indexM_AU = indexM; break; case "AccentLower": // Lowercase Diacritical CategoryGroup.selectedItem = AccentLower; indexM_AL = indexM; break; case "Upper": // Uppercase w/o Diacritical CategoryGroup.selectedItem = Upper; indexM_U = indexM; break; case "Lower": // Lowercase w/o Diacritical CategoryGroup.selectedItem = Lower; indexM_L = indexM; break; default: category = "Symbol"; CategoryGroup.selectedItem = Symbol; indexM_S = indexM; break; } ChangeCategory(category); initialize = false; } function ChangeCategory(newCategory) { if (category != newCategory || initialize) { category = newCategory; // Note: Must do L before M to set LatinL.selectedIndex UpdateLatinL(); UpdateLatinM(); UpdateCharacter(); } } function SelectLatinLetter() { if(LatinL.selectedIndex != indexL ) { indexL = LatinL.selectedIndex; UpdateLatinM(); UpdateCharacter(); } } function SelectLatinModifier() { if(LatinM.selectedIndex != indexM ) { indexM = LatinM.selectedIndex; UpdateCharacter(); } } function DisableLatinL(disable) { if (disable) { LatinL_Label.setAttribute("disabled", "true"); LatinL.setAttribute("disabled", "true"); } else { LatinL_Label.removeAttribute("disabled"); LatinL.removeAttribute("disabled"); } } function UpdateLatinL() { LatinL.removeAllItems(); if (category == "AccentUpper" || category == "AccentLower") { DisableLatinL(false); // No Q or q var alphabet = category == "AccentUpper" ? "ABCDEFGHIJKLMNOPRSTUVWXYZ" : "abcdefghijklmnoprstuvwxyz"; for (var letter = 0; letter < alphabet.length; letter++) LatinL.appendItem(alphabet.charAt(letter)); La } else { // Other categories don't hinge on a "letter" DisableLatinL(true); // Note: don't change the indexL so it can be used next time } } function UpdateLatinM() { LatinM.removeAllItems(); var i, accent; switch(category) { case "AccentUpper": // Uppercase Diacritical accent = upper[indexL]; for(i=0; i < accent.length; i++) LatinM.appendItem(accent.charAt(i)); if(indexM_AU < accent.length) indexM = indexM_AU; else indexM = accent.length - 1; indexM_AU = indexM; break; case "AccentLower": // Lowercase Diacritical accent = lower[indexL]; for(i=0; i < accent.length; i++) LatinM.appendItem(accent.charAt(i)); if(indexM_AL < accent.length) indexM = indexM_AL; else indexM = lower[indexL].length - 1; indexM_AL = indexM; break; case "Upper": // Uppercase w/o Diacritical for(i=0; i < otherupper.length; i++) LatinM.appendItem(otherupper.charAt(i)); tinL.selectedIndex = indexL; ==================== It goes on for quite a long time like this. At the time, the printer wasn't printing. I had printed something earlier today but it completed a long time ago. Let me know if there's anything else I should tell you. I'm using kernel gentoo-sources-2.4.20-rc5. Emerge info is available in my 4 other bugs. Thanks Ben
very weird error, are you using some special printer software, hpoj or something like that?
and is this error reproducibly?
Greetings I'm using hpijs, 1.4.1 (the version in portage didn't work). I didn't think it was reproducible, but what do you know? I turned off my printer before my computer and it hung again. My guess is something is screwed with the usb module. This time, instead of finding C++ in /var/log/messages, I got this right at the hang: Jul 1 00:46:25 gem printer.c: usblp0: unknown error Jul 1 00:47:53 gem printer.c: usblp0: unknown error Jul 1 00:49:20 gem printer.c: usblp0: unknown error To be sure, I won't turn off my printer anymore unless the computer is off! Thanks Ben
well, next step would be to try a different kernel, e.g. vanilla-sources-2.4.21
Greetings I tried vanilla-sources; turning off the printer did not hang the machine.
since it seems to be a kernel issue ...
can you reproduce that with gentoo-sources-r7?
see last comment.