[7.2.] Processor information (from /proc/cpuinfo):
drink@quadra:/home/src/linux/drivers/char$ cat /proc/cpuinfo
CPU: 68040
MMU: 68040
FPU: 68040
Clocking: 33.1MHz
BogoMips: 22.11
Calibration: 11059200 loops
[7.3.] Module information (from /proc/modules):
none
[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
none
[7.5.] PCI information ('lspci -vvv' as root)
nubus
[7.6.] SCSI information (from /proc/scsi/scsi)
drink@quadra:/home/src/linux/drivers/char$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST11200N Rev: 8334
Type: Direct-Access ANSI SCSI revision: 02
[7.7.] Other information that might be relevant to the problem
The error is at line 598. The code normally looks like so:
{3, "null", S_IRUGO | S_IWUGO, &null_fops},
{4, "port", S_IRUSR | S_IWUSR | S_IRGRP, &port_fops},
{5, "zero", S_IRUGO | S_IWUGO, &zero_fops},
I changed it to look like this instead:
{3, "null", S_IRUGO | S_IWUGO, &null_fops},
#if !defined(__mc68000__)
{4, "port", S_IRUSR | S_IWUSR | S_IRGRP, &port_fops},
#endif
{5, "zero", S_IRUGO | S_IWUGO, &zero_fops},
This is probably not the right way to fix this. However, it was the only
way at my immediate disposal with my limited coding skill[sz]. If
someone has a better solution, please apply it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/