[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Linux kernel 3.2.0-3-amiga misses Cyberstorm 1 SCSI



Hi!

In August I picked up the autobuilder elgar from NMMN in Hamburg in order to upgrade it and make it available again as an autobuilder. 

I finally found some spare time to upgrade elgar to unstable. Problem is: the machine is a Amiga 4000 with an Cyberstorm Mk 1 with SCSI module. Unfortunately there seems no support in recent kernel for this kind of SCSI card. 
The machine has an IDE drive as well, but IDE is dog slow on Amigas and very CPU intensive, so I would like to avoid using IDE if ever possible. If someone wants to investigate the situation, feel free to contact me. 


Side note: basically the same problem popped up in 2008: <20080625082429.GQ5774@2004.bluespice.org> ;-)

dmesg output: 

Searching for SAVEKMSG magic...
Found 7164 bytes at 0x001e0010
>>>>>>>>>>>>>>>>>>>>
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-3-amiga (Debian 3.2.23-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-8+m68k.1) ) #1 Wed Jul 25 13:02:31 UTC 2012
[    0.000000] Enabling workaround for errata I14
[    0.000000] console [debug0] enabled
[    0.000000] Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL ZORRO3 
[    0.000000] Ignoring memory chunk at 0x7400000:0xc00000 before the first chunk
[    0.000000] Fix your bootloader or use a memfile to make use of this area!
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 003756fc, node_mem_map 00401000
[    0.000000]   DMA zone: 288 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 32480 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: video=pal-lace root=/dev/sda2 debug=mem console=tty0 console=ttyS devtmpfs.mount=1
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 125684k/125684k available (2732k kernel code, 2532k data, 124k init)
[    0.000000] NR_IRQS:32
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.020000] Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
[    0.130000] pid_max: default: 32768 minimum: 301
[    0.140000] Security Framework initialized
[    0.150000] AppArmor: AppArmor disabled by boot time parameter
[    0.160000] Mount-cache hash table entries: 512
[    0.170000] Initializing cgroup subsys cpuacct
[    0.180000] Initializing cgroup subsys memory
[    0.190000] Initializing cgroup subsys devices
[    0.200000] Initializing cgroup subsys freezer
[    0.210000] Initializing cgroup subsys blkio
[    0.240000] devtmpfs: initialized
[    0.270000] print_constraints: dummy: 
[    0.290000] NET: Registered protocol family 16
[    0.360000] bio: create slab <bio-0> at 0
[    0.390000] SCSI subsystem initialized
[    0.580000] NET: Registered protocol family 2
[    0.600000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.640000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.650000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.660000] TCP reno registered
[    0.670000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.680000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.700000] NET: Registered protocol family 1
[    0.730000] audit: initializing netlink socket (disabled)
[    0.740000] type=2000 audit(0.740:1): initialized
[    0.770000] VFS: Disk quotas dquot_6.5.2
[    0.780000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.800000] msgmni has been set to 245
[    0.820000] alg: No test for stdrng (krng)
[    0.840000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.850000] io scheduler noop registered
[    0.860000] io scheduler deadline registered
[    0.870000] io scheduler cfq registered (default)
[    1.110000] Console: switching to colour frame buffer device 80x32
[    1.160000] fb0: Amiga AGA frame buffer device, using 1280K of video memory
[    1.180000] Amiga-builtin serial driver version 4.30
[    1.190000] ttyS0 is the amiga builtin serial port
[    1.210000] FD: probing units
[    1.210000] found fd0 
[    1.250000] Uniform Multi-Platform E-IDE driver
[    1.270000] ide: Gayle IDE controller (A4000 style)
[    1.280000] Probing IDE interface ide0...
[    1.600000] hda: QUANTUM FIREBALL EX10.2A, ATA DISK drive
[    2.340000] ide0 at 0x80dd2020 on irq 2 (serialized)
[    2.380000] ide-gd driver 1.18
[    2.390000] hda: max request size: 128KiB
[    2.430000] hda: 20044080 sectors (10262 MB) w/418KiB Cache, CHS=19885/16/63
[    2.460000] hda: cache flushes not supported
[    2.490000]  hda: RDSK (512) hda1 (DOS^C)(res 2 spb 1) hda2 (DOS^C)(res 2 spb 1) hda3 (SWP^@)(res 2 spb 1) hda4 (LNX^@)(res 2 spb 1) hda5 (LNX^@)(res 2 spb 1) hda6 (LNX^@)(res 2 spb 1)
[    2.520000] ide-cd driver 5.00
[    2.540000] Zorro: Probing AutoConfig expansion devices: 2 devices
[    2.560000] mousedev: PS/2 mouse device common for all mice
[    2.570000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[    2.590000] input: amiga-mouse as /devices/platform/amiga-mouse/input/input1
[    2.620000] TCP cubic registered
[    2.630000] NET: Registered protocol family 17
[    2.640000] NET: Registered protocol family 15
[    2.650000] Registering the dns_resolver key type
[    2.660000] registered taskstats version 1
[    2.670000] /tmp/buildd/linux-3.2.23/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.690000] VFS: Cannot open root device "sda2" or unknown-block(0,0)
[    2.700000] Please append a correct "root=" boot option; here are the available partitions:
[    2.710000] 0200             880 fd0  (driver?)
[    2.730000] 0300        10022040 hda  driver: ide-gd
[    2.750000]   0301          150696 hda1 00000000-0000-0000-0000-000000000000
[    2.770000]   0302          831600 hda2 00000000-0000-0000-0000-000000000000
[    2.790000]   0303          424872 hda3 00000000-0000-0000-0000-000000000000
[    2.820000]   0304         3074400 hda4 00000000-0000-0000-0000-000000000000
[    2.840000]   0305         4980528 hda5 00000000-0000-0000-0000-000000000000
[    2.860000]   0306          558936 hda6 00000000-0000-0000-0000-000000000000
[    2.880000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.890000] Call Trace: [<002a66ec>] panic+0x54/0x198
[    2.910000]  [<00008001>] amiga_get_hardware_list+0x239/0x648
[    2.920000]  [<000127d0>] _060_fpsp_effadd+0x1c4/0xd518
[    2.930000]  [<002a6830>] printk+0x0/0x18
[    2.940000]  [<000b98aa>] sys_mount+0x0/0xce
[    2.950000]  [<00195114>] strchr+0x0/0x3e
[    2.960000]  [<003bc394>] mount_block_root+0x184/0x204
[    2.970000]  [<001950c6>] strncmp+0x0/0x4e
[    2.980000]  [<00002008>] do_one_initcall+0x0/0x19c
[    2.990000]  [<000ad436>] sys_mknod+0x16/0x1c
[    3.000000]  [<003bc464>] mount_root+0x50/0x58
[    3.010000]  [<00008001>] amiga_get_hardware_list+0x239/0x648
[    3.020000]  [<00006180>] buserr_c+0xf0/0x6d0
[    3.040000]  [<003bc5b4>] prepare_namespace+0x148/0x184
[    3.050000]  [<000ae122>] sys_dup+0x0/0x58
[    3.060000]  [<00002008>] do_one_initcall+0x0/0x19c
[    3.070000]  [<003bc156>] kernel_init+0xfe/0x104
[    3.080000]  [<003bc058>] kernel_init+0x0/0x104
[    3.090000]  [<00002bdc>] kernel_thread+0x3a/0x4e
[    3.110000] 
[   20.690000] amikbd: Ctrl-Amiga-Amiga reset warning!!
<<<<<<<<<<<<<<<<<<<<


root@elgar:~# lszorro -vv
00: Phase 5 Blizzard 1220/CyberStorm [Accelerator and SCSI Host Adapter]
        Type: Zorro II
        Address: 00e90000 (00010000 bytes)
        Serial number: 00000000
        Slot address: 00e9
        Slot size: 0001

01: Village Tronic Ariadne [Ethernet Card and Parallel Ports]
        Type: Zorro II
        Address: 00ea0000 (00010000 bytes)
        Serial number: 01001091
        Slot address: 00ea
        Slot size: 0001


root@elgar:~# uname -a
Linux elgar 2.6.18-4-amiga #1 Fri Mar 30 21:51:52 CEST 2007 m68k GNU/Linux

dmesg on working 2.6 kernel:

SCSI ID 7 Clk 40MHz CCF=8 TOut 167 NCR53C9XF(espfast)
esp0: FAST chip is Emulex FAS236 (family=2, version=3)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : CyberStorm SCSI
  Vendor: QUANTUM   Model: FIREBALL SE4.3S   Rev: PJ0A
  Type:   Direct-Access                      ANSI SCSI revision: 02
esp0: target 0 [period 100ns offset 15 10.00MHz FAST SCSI-II]
SCSI device sda: 8443592 512-byte hdwr sectors (4323 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 00 08
SCSI device sda: drive cache: write back
SCSI device sda: 8443592 512-byte hdwr sectors (4323 MB)
sda: Write Protect is off
sda: Mode Sense: 9f 00 00 08
SCSI device sda: drive cache: write back
 sda: RDSK (512) sda1 (SWP^@)(res 2 spb 1) sda2 (LNX^@)(res 2 spb 1)
sd 0:0:0:0: Attached scsi disk sda

-- 
Ciao...            //      Fon: 0381-2744150
      Ingo       \X/       http://blog.windfluechter.net


gpg pubkey:  http://www.juergensmann.de/ij_public_key.asc


Reply to: