Linux-Hardware Digest #461, Volume #14 Fri, 9 Mar 01 16:13:09 EST
Contents:
Re: many kernel diskchange detected messages -- but no diskchange (David)
Multiple devices on IDE cable (Michael Gibson)
USB mouse and screen blanking on IBM TP21... (Krist)
Re: Processor ID (John Hasler)
SonyVAIO PCG-Z600NE PCI (NOT USB) MemoryStick Recognition ("D Watanabe")
Re: Question: setup cable modem, Linux and Windows (Grant Edwards)
Re: Processor ID ("D. Stimits")
Getting an HP 9350 CDR/W to work? ("psheer AT icon DOT co DOT za")
Re: OSS Vortex 2 module (Young4ert)
Re: Multiple devices on IDE cable (Tim)
----------------------------------------------------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: many kernel diskchange detected messages -- but no diskchange
Date: Fri, 09 Mar 2001 18:20:10 GMT
Frank Worsley wrote:
>
> Hi,
>
> I recently compiled myself the latest 2.4.2 kernel and installed it, but
> now I constantly receive this message in my kernel log and dmesg:
>
> Mar 8 21:01:07 raven kernel: VFS: Disk change detected on device ide0(3,0)
> Mar 8 21:01:39 raven last message repeated 16 times
> Mar 8 21:02:41 raven last message repeated 31 times
> Mar 8 21:03:42 raven last message repeated 30 times
> Mar 8 21:04:44 raven last message repeated 31 times
> Mar 8 21:05:46 raven last message repeated 31 times
> Mar 8 21:06:47 raven last message repeated 30 times
> Mar 8 21:07:49 raven last message repeated 31 times
> Mar 8 21:08:50 raven last message repeated 30 times
> Mar 8 21:09:52 raven last message repeated 31 times
> Mar 8 21:10:02 raven last message repeated 5 times
>
> As you can see it gets printed A LOT OF TIMES. However, I don't ever change a
> disk. I have a parallel port ZIP 100 drive. Otherwise an HDD and a DVD-ROM
> hooked up to my motherboard ATA66 controller (I got an Asus A7V mobo).
>
> Now, these messages don't really do anything but I would still like to
> know why I am getting them and potentially how to get rid of them. Got
> any ideas?
>
> Thanks,
>
> Frank
It is the "magicdev" program causing the problem. I un-install it on my
systems since it isn't a requirement for the system to function. The
only thing is that you will have to mount the CD manually instead of it
being mounted when you put one in the drive.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.098% of seti users. +/- 0.01%
------------------------------
From: [EMAIL PROTECTED] (Michael Gibson)
Subject: Multiple devices on IDE cable
Date: 9 Mar 2001 19:21:55 +0100
We have a system with two IDE busses, using UDMA66. We initially tried to
put two hard drives on the primary, and a hard drive and a CD-ROM drive on
the secondary.
IDE connector 1:
master hard drive hda
slave hard drive hdb
IDE connector 2:
master CD-ROM drive hdc
slave hard drive hdd
In that configuration, the machine would freeze up intermittently. The
hard drive light would be stuck on, and it was dead to the outside world.
We're not 100% sure what caused it, but it seemed to occur more frequently when
we were actively using the b & d drives. We're now running an application
that's really using b & d, and also doing a large tar from b (to another
machine over the network). The result is that the machine crashes in a
number of hours.
We've tried disconnecting various combinations of things. Conclusions so far:
* without CD-ROM (but with all 3 drives), same problem.
* with CD-ROM and 2 drives, same problem (not sure we've tested all
possible permutations, but each test essentially takes 1/2 a day).
* with CD-ROM and 1 drive (hda), the problem seems to go away.
We've tried 2.4 kernel and 2.4.2. (For our application, it's critical that
we use 2.4 or higher.)
Does anyone know about this? Are we doing something wrong? Is there some
sort of race condition in some IDE driver somewhere? Is there a fix available?
Michael
[EMAIL PROTECTED]
--
Posted from [192.187.140.129]
via Mailgate.ORG Server - http://www.Mailgate.ORG
------------------------------
From: Krist <[EMAIL PROTECTED]>
Subject: USB mouse and screen blanking on IBM TP21...
Date: Fri, 09 Mar 2001 19:40:57 +0100
Hi all,
When on battery power my TP21 will blank the screen after several
minutes of inactivity. This is a good thing, as it conserves power.
The problem is that I use a USB mouse, and for some reason USB mouse
activity is not detected by the APM BIOS as activity. So browsing on
battery power results in periodial screen blanks which get me to dive
for the spacebar again.
This behaviour is not shown under a particular OS from Redmaond that I'd
rather wish I didn't have to inflict on my Laptop anymore. (But I like
to watch DVD's in that train sometimes so Windows sadly has to remain on
the HD for the moment.)
Does anybody have an idea on how to solve this? Other then just turning
of screen blanking in the bios.
TIA
Krist
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Processor ID
Date: Fri, 9 Mar 2001 17:34:39 GMT
Sam writes:
> There are situations where running cpuid can be useful, when detecting
> whether it's safe to run MMX code for instance.
A system call would be fine for that.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: "D Watanabe" <[EMAIL PROTECTED]>
Subject: SonyVAIO PCG-Z600NE PCI (NOT USB) MemoryStick Recognition
Date: Fri, 9 Mar 2001 18:37:07 -0000
Hi folks,
I'm trying to use MemoryStick slot on SonyVAIO PCG-Z600NE,
and currently no luck.
Product Name "Z600NE" is a bit funny,
probably this is used for Europe domain.
I believe some "505" series should have same spedification.
Linux/OS does not recognize MemoryStick as HD at all.
What I can see is:
* This machine's Memorystick seems to be
connected to PCI not USB. <-- important!
So USB-MASS-STRAGE is no help.
Anyway, those below config=y but still no luck.
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_USB_STORAGE=y
* As above, SCSI config are included in kernel, but no help.
* "MemoryStick Controller" appears on /proc/pci
so device itself is existing anyway.
And it will act as ATA-Drive/Scsi(?) HardDrive
but Linux cannot recognized it as HD.
* Kernel parameter "hdc=autotune" is no help.
"hdc=247/2/16" (for example!) leads kernel panic,
no wander.
Kernel says, it's "non-ATA Drive".
Here is specs/logs which could help to tell the situation.
* Debian: woody(testing).
* Linux Kernel Version: 2.4.2 with devfs
* Eithernet/Audio devices are working fine.
* USB-Floppy is working on the same environment,
which is recognized as SCSI device and appers under
/dev/scsi/host0(snip)
* BIOS setup.
Menu [Advanced]
> Primary IDE Adapter [12073MB]
> Secondary IDE Adapter [None]
--> Submenu
Type [Auto]
This "Type" option has "ATAPI Removable"
and "CD-ROM" etc.
Any change for "Secondary IDE Adapter [None]" canNOT be made.
for example, change it to "ATAPI Removbale" from "None"
and Save(F10) and quit restart.
Then the menu "Secondary IDE Adapter" has been back to [None].
No way to change it, as far as I have tested.
Anyway, on the same BIOS configration, Win2K can recognize
memorystick properly.
* dmesg digest
Linux version 2.4.2 (root@chariot) (gcc version 2.95.3 20010125
(prerelease))
(snip)
Setting commenced=1, go go go
PCI: PCI BIOS revision 2.10 entry at 0xfd9ae, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
got res[10000000:10000fff] for resource 0 of Ricoh Co Ltd RL5c475
got res[10001000:100013ff] for resource 0 of Sony Corporation Memory Stick
Controller
Limiting direct PCI/PCI transfers.
(snip)
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DARA-212000, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 23579136 sectors (12073 MB) w/418KiB Cache, CHS=1467/255/63, UDMA(33)
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 > p4
Floppy drive(s): fd0 is 1.44M
(snip)
[Note]: No "hdc" recognition.
* lspci -vt
-[00]-+-00.0 Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
+-01.0-[01]----00.0 Neomagic Corporation: Unknown device 0016
+-07.0 Intel Corporation 82371AB PIIX4 ISA
+-07.1 Intel Corporation 82371AB PIIX4 IDE
+-07.2 Intel Corporation 82371AB PIIX4 USB
+-07.3 Intel Corporation 82371AB PIIX4 ACPI
+-08.0 Sony Corporation CXD3222 i.LINK Controller
+-09.0 Yamaha Corporation YMF-744B [DS-1S Audio Controller]
+-0a.0 CONEXANT: Unknown device 2443
+-0b.0 Intel Corporation 82557 [Ethernet Pro 100]
+-0c.0 Ricoh Co Ltd RL5c475
\-0d.0 Sony Corporation Memory Stick Controller
* lspci -vvx (digest)
00:0d.0 FLASH memory: Sony Corporation Memory Stick Controller (rev 01)
Subsystem: Sony Corporation: Unknown device 8085
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SER
R- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort
- >SERR- <PERR-
Interrupt: pin A routed to IRQ 0
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [disabled]
[size=1K]
Capabilities: <available only to root>
00: 4d 10 8a 80 00 00 10 02 01 00 01 05 00 00 00 00
10: 00 10 00 10 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 85 80
30: 00 00 00 00 dc 00 00 00 00 00 00 00 00 01 00 00
* kernel configuration (digest)
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
--- USB/SCSI
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
...
#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
...
#
# USB support
#
...
CONFIG_USB_STORAGE=y
...
I cannot decide this problem caused by
* Need some special driver for the controller
* some kernel mis configuration
* lack of some appropriate kernel param
* some BIOS work
* other??
Any comments are welcome.
Thank you very much&
Best regards,
D Watanabe<[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: Re: Question: setup cable modem, Linux and Windows
Date: Fri, 09 Mar 2001 19:55:42 GMT
In article <o2%p6.16582$[EMAIL PROTECTED]>, Chris wrote:
>> > This is the right one if you set up firewall capability on the Linux
>> > box. The cable modem probably has no firewall capability. This requires
>> > two NICs in the Linux box.
I'd complain to whoever gave you the cable-modem. There's no
excuse for handing out something that doesn't doesn't act as a
NAT firewall -- unless they _want_ people breaking into your
computers.
--
Grant Edwards grante Yow! PARDON me, am I
at speaking ENGLISH?
visi.com
------------------------------
Date: Fri, 09 Mar 2001 13:04:09 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Processor ID
Samuel Hocevar wrote:
>
> On Fri, 09 Mar 2001 14:07:05 +0000,
> Kasper Dupont <[EMAIL PROTECTED]> wrote:
>
> > Too me that sounds like a bad design, a program runing in user space
> > should not have access to that information without the kernels
> > knowledge.
>
> There are situations where running cpuid can be useful, when
> detecting whether it's safe to run MMX code for instance.
>
> Sam.
> --
> Samuel Hocevar <[EMAIL PROTECTED]> <http://sam.zoy.org/>
> for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done | \
> perl -ne 's/\.//g; print pack("H224",$1) if(/^x([^z]*)/)' | gunzip
The cpuid returns more than serial number. It appears that disabling
cpuid does not disable that instruction; instead it disables a subset,
the cpu serial number. Other abilities seem to remain intact. If you
have nasm, try this on a machine with cpuid disabled, and you'll still
get MMX detection to work. Two files are shown, mmx.cxx (C++), and
mmx_detect.asm (nasm/Intel format):
nasm -f elf mmx_detect.asm -o mmx_detect.o
g++ mmx.cxx mmx_detect.o -o mmx
./mmx
;;;;;;;;;;;;;;;;;;;;
; mmx_detect.asm
; nasm syntax
bits 32
section .text
; int cpuid_support( void );
global cpuid_support
align 16
cpuid_support:
pushf
pop ecx
mov edx, ecx
xor ecx, 0x00200000
push ecx
popf
xor eax, eax
pushf
pop ecx
cmp ecx, edx
je .no_CPUID_Support
mov eax, 1
.no_CPUID_Support:
ret
; int mmx_support( void );
global mmx_support
align 16
mmx_support:
call cpuid_support
test eax, eax
jz .no_MMX_Support
mov eax, 1
push ebx
cpuid
xor eax, eax
test edx, 0x00800000
pop ebx
jz .no_MMX_Support
mov eax, 1
.no_MMX_Support:
ret
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
///////////////////////////////////////////
// mmx.cxx
#include <iostream>
extern "C" {
int cpuid_support( void );
int mmx_support( void );
}
int main()
{
int has_support = 0;
has_support = cpuid_support();
if( has_support ) {
cout << "Has cpu ID support" << endl;
has_support = mmx_support();
if( has_support ) {
cout << "Also has MMX support" << endl;
} else {
cout << "Unfortunately, no MMX support" << endl;
}
} else {
cout << "No cpu ID support" << endl;
}
cout << "end of function" << endl;
return 0;
}
//////////////////////////////////////////
------------------------------
From: "psheer AT icon DOT co DOT za" <[EMAIL PROTECTED]>
Subject: Getting an HP 9350 CDR/W to work?
Date: Fri, 09 Mar 2001 22:04:28 +0200
(please reply to "psheer AT icon DOT co DOT za")
The HP 9350 is a 10 speed CD writer
Does anyone have this working on Linux?
I know the older HP's worked perfectly, but
this gives a "read-only filesystem error"
cericon:/redhat/home/ftp/pub/cdrecord/cdrecord-1.9#
./cdrecord/OBJ/i686-linux-cc/cdrecord --dummy dev=/dev/sr0 /tmp/CDROM-iso
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
./cdrecord/OBJ/i686-linux-cc/cdrecord: Read-only file system. Cannot open '/dev/sr0'.
Cannot open SCSI driver.
./cdrecord/OBJ/i686-linux-cc/cdrecord: For possible targets try 'cdrecord -scanbus'.
Make sure you are root.
cericon:/redhat/home/ftp/pub/cdrecord/cdrecord-1.9#
./cdrecord/OBJ/i686-linux-cc/cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
Linux sg driver version: 2.1.36
Using libscg version 'schily-0.1'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 9300 ' '1.0c' Removable CD-ROM
./cdrecord/OBJ/i686-linux-cc/cdrecord: Warning: controller returns wrong size for CD
capabilities page.
0,1,0 1) 'ATAPI40X' 'CDROM DRIVE ' '3.4A' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
cericon:/redhat/home/ftp/pub/cdrecord/cdrecord-1.9#
my kernel messages clearly say that it is working:
hdc: Hewlett-Packard CD-Writer Plus 9300, ATAPI CDROM drive
hdd: ATAPI 40X CDROM DRIVE, ATAPI CDROM drive
etc...
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: HP Model: CD-Writer+ 9300 Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Vendor: ATAPI40X Model: CDROM DRIVE Rev: 3.4A
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
scsi : detected 2 SCSI cdroms total.
sr0: scsi3-mmc drive: 20x/32x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
sr1: scsi3-mmc drive: 4x/40x cd/rw xa/form2 cdda tray
Any ideas?
TIA
-paul
Paul Sheer Consulting IT Services . . . Tel . . . +27 21 761 7224
Linux development, cryptography, installations, support, training
http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net
L I N U X . . . . . . . . . . . . The Choice of a GNU Generation
------------------------------
From: Young4ert <[EMAIL PROTECTED]>
Subject: Re: OSS Vortex 2 module
Date: Fri, 09 Mar 2001 20:16:35 GMT
I have an Aureal Vortex2 as well as the three Hi-Val PCI-338 (Free after
rebates) sound cards and decided not to use them mainly because there is no
source code for the driver for any aureal chipset. From now on, I will
stay away from any Aureal sound card unless someone has come out with the
source code for the driver (not the binary object files). I believe
someone has the source code for the Aureal drivers but s/he can't not
release it to the public main because it is copyrighted to Aureal Inc.
which already gone out of business.
Adam Short wrote:
> I decided to try the OSS beta driver for the Aureal Vortex 2 soundcard
> last night. It produces sound, but in a really really strange way.
> Everything is slowed down, it runs at about 1/4 speed. It says in the docs
> that this is a recognised problem but that it should be intermittent and
> doing a soundoff, soundon should fix it. In short, it doesn't.
>
> I tried the sourceforge drivers for this device and they were worse. While
> they produce sound at the correct speed, they also crash my machine after
> a few seconds of listening to music, immediately if I try to run anything
> else. The OSS drivers appear to be stable (apart from the weird sound
> thing). Does anyone know what I can do to fix this? I'm going to start
> hunting down possible hardware conflicts tonight, but I don't think it'll
> do any good.
>
> Thanks
>
> Adam
>
> --
> I love deadlines. I especially like the whooshing sound they make as they
> go flying by. - Douglas Adams
>
>
>
------------------------------
From: Tim <[EMAIL PROTECTED]>
Subject: Re: Multiple devices on IDE cable
Date: Fri, 09 Mar 2001 15:50:13 -0500
Hi Michael,
Michael Gibson wrote:
>
> We have a system with two IDE busses, using UDMA66. We initially tried to
> put two hard drives on the primary, and a hard drive and a CD-ROM drive on
> the secondary.
>
> IDE connector 1:
> master hard drive hda
> slave hard drive hdb
> IDE connector 2:
> master CD-ROM drive hdc
> slave hard drive hdd
My only suggestion would be to reverse the devices on the second ide
chain--make the hard disk master and the CD-ROM slave; it is possible
that the CD-ROM, being so much slower, is causing the problem.
Good Luck!
Tim
--
Timothy J. Schutte
[EMAIL PROTECTED]
http://www.wwnet.net/~kc8hr
"I yam what I yam and that's all what I yam!" --Popeye the Sailor-Man
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.hardware.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Hardware Digest
******************************