Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Jul 21, 2018 4:04 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 59 posts ]  Go to page Previous 1 2 3 4 Next
Author Message
PostPosted: Sat Oct 06, 2007 8:28 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Ran into a prblem here. When I run

svn co https://linkstationwiki.svn.sourceforge ... universal/

I get 301 errors. Which URL is the right one?


Top
   
PostPosted: Sat Oct 06, 2007 1:02 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Hi andre,
you did use the wrong link ! Check again previous post and use the link for svn, not the one to browse the code with you internet browser ;)
Ok I give it again :
svn co https://linkstationwiki.svn.sourceforge ... universal/
;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Sun Oct 07, 2007 5:42 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Thanks Sylver, need to work on my multitasking ;)

The universal kernel v299 wouldn't be bootable on most near-stock LSs, as the melfs/lb_worm super block byte-swap patch is not included. If I can help...


Top
   
PostPosted: Sun Oct 07, 2007 9:35 am 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
It is in the univers kernel since the beginning :
http://linkstationwiki.svn.sourceforge. ... 291&r2=294
http://linkstationwiki.svn.sourceforge. ... 291&r2=294
And even in EXT4 :)
http://linkstationwiki.svn.sourceforge. ... 291&r2=294
Unless your talking about something else ?

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Sun Oct 07, 2007 3:08 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
What's wrong with me? :(

I'm currently compiling a test kernel. It was kind of a shock to see that many options, I'm not sure I completely understand all of them, so I ended up with

---
CONFIG_6xx=y
CONFIG_PPC_FPU=y
CONFIG_KEXEC=y
CONFIG_PPC_GEN550=y
CONFIG_PPC_STD_MMU=y
CONFIG_BUFFALO_PLATFORM=y
CONFIG_LINKSTATION_GENERIC=y
CONFIG_BUFFALO_USE_MICON_V1=y
CONFIG_BUFFALO_USE_STATE_FLASHBLOCK=y
CONFIG_BUFFALO_MICON_INIT_CHIP=y
CONFIG_BUFFALO_USE_UPS=y
CONFIG_MPC10X_BRIDGE=y
CONFIG_MPC10X_OPENPIC=y
CONFIG_MPC10X_STORE_GATHERING=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_HZ_250=y
CONFIG_PREEMPT_NONE=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="root=/dev/hda1 console=uart,mmio,0x80004600,57600n8"
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
---

Did I get this right, you've managed to disable the watchdog in the kernel? :)


Top
   
PostPosted: Sun Oct 07, 2007 4:19 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Well, in config/ directory, I've put some config for different hardware, you can use the kurobox or the kuroboxhg config as a base for the linkstation/linkstation hg. Don't use the UPS thing, it's not linking well because of that, and I'm not sure that it have any interest for PPC devices ! About the watchdor disabling from the kernel, I didn't work on that since a long long time, so sorry but it's not (yet ?) in the universal kernel ;)

BTW, do a "svn update" in kernel_universal ! I've added some missing files that were preventing netfilter stuff to compile ...

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Mon Oct 08, 2007 4:01 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
I saw an AVR option but couldn't make sense of it. Still can't, but hey, it works!

r308, 2.6.22.9, Generic LS kernel type .config as posted (w/o UPS), merged with my own .config, on my LS1. -- What do you think about the idea of a 'generic PPC' version that would support the TS as well?

MODPOST vmlinux
WARNING: arch/ppc/platforms/built-in.o(.text+0xa0): Section mismatch: reference to .init.text: (between 'sandpoint_calibrate_decr' and 'BuffaloInitUart')

KERNELBASE=c0000000 (r6=359f77c r7=359f78a) r3=0 (r4=0 r5=0)
---cmdline=root=/dev/hda1
Linux version 2.6.22.9-linkstationPPC (root@ls) (gcc version 4.1.2 20061115 (prerelease) (Debian 4
.1.1-21)) #3 Mon Oct 8 16:49:16 CEST 2007
Early serial console at MMIO 0x80004600 (options '57600n8')
BUFFALO Network Attached Storage Series
(C) 2002-2005 BUFFALO INC.
Entering add_active_range(0, 0, 16384) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 16384
Normal 16384 -> 16384
early_node_map[1] active PFN ranges
0: 0 -> 16384
On node 0 totalpages: 16384
DMA zone: 128 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 16256 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 16256
Kernel command line: root=/dev/hda1
OpenPIC Version 1.2 (1 CPUs and 11 IRQ sources) at 80040000
PID hash table entries: 256 (order: 8, 1024 bytes)
Bus clock freq: 98304000
decrementer frequency = 24.390687 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61116k available (2816k kernel code, 844k data, 124k init, 0k highmem)
Calibrating delay loop... 129.79 BogoMIPS (lpj=259584)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 1 of device 0000:00:00.0
Registering openpic with sysfs...
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.28 [Flags: R/W].
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x80004600 (irq = 26) is a 16550A
serial8250.1: ttyS1 at MMIO 0x80004500 (irq = 25) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 8192K size 1024 blocksize
loop: module loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Linux Tulip driver version 1.1.15 (Feb 27, 2007)
tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1.
eth0: ADMtek Comet rev 17 at Port 0xbfff00, 00:07:40:FB:F8:D9, IRQ 16.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 0000:00:0c.0
SiI680: chipset revision 2
siimage: IDE controller MMIO ports not available.
SiI680: BASE CLOCK == 100
SiI680: 100% native mode on irq 17
ide0: BM-DMA at 0xbffed0-0xbffed7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xbffed8-0xbffedf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: Hitachi HDT725050VLAT80, ATA DISK drive
hda: selected mode 0x45
ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
Probing IDE interface ide1...
hda: max request size: 64KiB
hda: 976773168 sectors (500107 MB) w/7372KiB Cache, CHS=60801/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3
physmap platform flash device: 00400000 at ffc00000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00300000 : "mtd_firmimg"
0x00300000-0x00370000 : "mtd_bootcode"
0x00370000-0x00380000 : "mtd_status"
0x00380000-0x00400000 : "mtd_conf"
0x00000000-0x00400000 : "mtd_allflash"
0x00310000-0x00400000 : "mtd_data"
ehci_hcd 0000:00:0e.2: EHCI Host Controller
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0e.2: irq 19, io mem 0xbfffcf00
ehci_hcd 0000:00:0e.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0e.0: OHCI Host Controller
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0e.0: irq 19, io mem 0xbfffe000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:00:0e.1: OHCI Host Controller
usb 1-2: new high speed USB device using ehci_hcd and address 2
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0e.1: irq 19, io mem 0xbfffd000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-2: configuration #1 chosen from 1 choice
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Buffalo Platform Linux Driver 0.16 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V1 (C) BUFFALO INC. V.1.00 installed.
TCP cubic registered
Buffalo Platform Linux Driver 0.16 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V1 (C) BUFFALO INC. V.1.00 installed.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Adding console on ttyS0 at MMIO 0x80004600 (options '57600n8')
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k init
hda: selected mode 0x45
hda: selected mode 0x45
Adding 498004k swap on /dev/hda2. Priority:1 extents:1 across:498004k
EXT3 FS on hda1, internal journal
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
eth0: no IPv6 routers present
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period


Top
   
PostPosted: Mon Oct 08, 2007 4:13 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Nice :) Is it also rebooting / shut down correctly (to check if my micon_v1 driver is correct) ?
About adding the Terastation in the universal configuration : it's possible but there is one thing that can't be autodetected so the bootloader will have to pass an option to the kernel to tell what to do (It's about the frequency decrementer, it's not the same for linkstations & terastations hardware !). It is traced as a warning in linkstation.c (#warning TODO Sylver : Use kernel param to select cpu freq ratio). When it'll be coded, it'll be possible to add the terastation in the "universal config" compatibility list ;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Mon Oct 08, 2007 4:25 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
I saw the warning, but I'm presently too busy for extra work :(

Rebooting works by double-clicking the button (avr_evtd 1.72) and "reboot", shutdown as expected both ways too.

GOOD JOB, SYLVER!

Here's the same kernel on my HG/UBoot:

---cmdline=root=/dev/hda1 console=uart,mmio,0x80004600,57600n8
Linux version 2.6.22.9-linkstationPPC (root@ls) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #3 Mon Oct 8 16:49:16 CEST 2007
Early serial console at MMIO 0x80004600 (options '57600n8')
BUFFALO Network Attached Storage Series
(C) 2002-2005 BUFFALO INC.
Entering add_active_range(0, 0, 32768) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 32768
Normal 32768 -> 32768
early_node_map[1] active PFN ranges
0: 0 -> 32768
On node 0 totalpages: 32768
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 32512 pages, LIFO batch:7
Normal zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 32512
Kernel command line: root=/dev/hda1 console=uart,mmio,0x80004600,57600n8
OpenPIC Version 1.2 (1 CPUs and 11 IRQ sources) at 80040000
PID hash table entries: 512 (order: 9, 2048 bytes)
Bus clock freq: 131072000
decrementer frequency = 32.521743 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126080k available (2816k kernel code, 844k data, 124k init, 0k highmem)
Calibrating delay loop... 173.05 BogoMIPS (lpj=346112)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 1 of device 0000:00:00.0
Registering openpic with sysfs...
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.28 [Flags: R/W].
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x80004600 (irq = 26) is a 16550A
serial8250.1: ttyS1 at MMIO 0x80004500 (irq = 25) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 8192K size 1024 blocksize
loop: module loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
r8169 Gigabit Ethernet driver 2.2LK loaded
r8169 0000:00:0b.0: PowerManagement capability not found.
eth0: RTL8169s/8110s at 0xc9000f00, 00:07:40:ce:cd:00, IRQ 16
eth0: 100Mbps Half-duplex operation.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 0000:00:0c.0
SiI680: chipset revision 2
siimage: IDE controller MMIO ports not available.
SiI680: BASE CLOCK == 100
SiI680: 100% native mode on irq 17
ide0: BM-DMA at 0xbffed0-0xbffed7, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xbffed8-0xbffedf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: FUJITSU MPG3204AT E, ATA DISK drive
hda: selected mode 0x45
ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
Probing IDE interface ide1...
hda: max request size: 64KiB
hda: 39876480 sectors (20416 MB) w/512KiB Cache, CHS=39560/16/63, UDMA(100)
hda: cache flushes not supported
hda: hda1 hda2 hda3
physmap platform flash device: 00400000 at ffc00000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00300000 : "mtd_firmimg"
0x00300000-0x00370000 : "mtd_bootcode"
0x00370000-0x00380000 : "mtd_status"
0x00380000-0x00400000 : "mtd_conf"
0x00000000-0x00400000 : "mtd_allflash"
0x00310000-0x00400000 : "mtd_data"
ehci_hcd 0000:00:0e.2: EHCI Host Controller
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0e.2: irq 19, io mem 0xbfffcf00
ehci_hcd 0000:00:0e.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0e.0: OHCI Host Controller
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0e.0: irq 19, io mem 0xbfffe000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:00:0e.1: OHCI Host Controller
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0e.1: irq 19, io mem 0xbfffd000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Buffalo Platform Linux Driver 0.16 installed.
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V1 (C) BUFFALO INC. V.1.00 installed.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Adding console on ttyS0 at MMIO 0x80004600 (options '57600n8')
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k init
Adding 498004k swap on /dev/hda2. Priority:-1 extents:1 across:498004k
EXT3-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT3 FS on hda1, internal journal
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
r8169: eth0: link up
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
NET: Registered protocol family 5
eth0: no IPv6 routers present


Top
   
PostPosted: Mon Oct 08, 2007 4:40 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Ok, RAM & speed are ok in both case, MICON V1 driver is working ... That's a good news :)
Thanks for testing that ;)
So MICON V1 is working on PPC devices, MICON V2 is working on ARM devices, now I've to check if MICON V2 is working on PPC device (Terastation Pro V1;))
For now I'm busy including Marvell's crypto & XOR hardware drivers in the kernel (sorry it's ARM9 device only ;)) Once done, I may look into adding a kernel parameter to select if the freq decrement should apply or not ;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Mon Oct 08, 2007 4:54 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Please don't forget the code to disarm the AVR, if you find the time. The watchdog is a veritable pitfall for many users.


Top
   
PostPosted: Tue Oct 09, 2007 10:01 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Ran into problems with r310 (unlike r306), compilation failed at some SCSI related code (can provide more details later today if needed). Also, the new crypto drivers failed to compile, but that wasn't unexpected IIRC. Hopefully all modules have been compiled when I come back home later today.


Top
   
PostPosted: Tue Oct 09, 2007 10:41 am 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Please give me some details about the SCSI error ;)
What do you call "new crypto drivers" ? Is it related to OCF ? If yes, do not enable the "OCF dm-crypt" (still WIP on that) and different hardware crypto accelerators (ie : safenet, IXP4xx, hifn, Hifn HIPP, talitos & ocf-bench).
Sylver

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
PostPosted: Tue Oct 09, 2007 2:11 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Sorry for the incomplete information, here's the full monty (r312).

Did as you said regarding OCF,

CONFIG_OCF_OCF=m
CONFIG_OCF_RANDOMHARVEST=m
CONFIG_OCF_FIPS=m
CONFIG_OCF_CRYPTODEV=m
CONFIG_OCF_CRYPTOSOFT=m
# CONFIG_OCF_DM_CRYPT is not set
# CONFIG_OCF_SAFE is not set
# CONFIG_OCF_IXP4XX is not set
# CONFIG_OCF_HIFN is not set
# CONFIG_OCF_HIFNHIPP is not set
# CONFIG_OCF_TALITOS is not set
CONFIG_OCF_OCFNULL=m
# CONFIG_OCF_BENCH is not set

Kernel compilation stops here:

CC drivers/scsi/scsi_scan.o
drivers/scsi/scsi_scan.c: In function ‘scsi_report_lun_scan’:
drivers/scsi/scsi_scan.c:1474: warning: ISO C90 forbids mixed declarations and code
drivers/scsi/scsi_scan.c:1500: error: non-static declaration of ‘__scsi_add_device’ follows static declaration
drivers/scsi/scsi_scan.c:1476: error: previous definition of ‘__scsi_add_device’ was here
drivers/scsi/scsi_scan.c:1513: error: non-static declaration of ‘scsi_add_device’ follows static declaration
drivers/scsi/scsi_scan.c:1504: error: previous definition of ‘scsi_add_device’ was here
drivers/scsi/scsi_scan.c:1529: error: non-static declaration of ‘scsi_rescan_device’ follows static declaration
drivers/scsi/scsi_scan.c:1516: error: previous definition of ‘scsi_rescan_device’ was here
drivers/scsi/scsi_scan.c:1533: error: invalid storage class for function ‘__scsi_scan_target’
drivers/scsi/scsi_scan.c:1612: error: non-static declaration of ‘scsi_scan_target’ follows static declaration
drivers/scsi/scsi_scan.c:1598: error: previous definition of ‘scsi_scan_target’ was here
drivers/scsi/scsi_scan.c:1616: error: invalid storage class for function ‘scsi_scan_channel’
drivers/scsi/scsi_scan.c:1676: error: invalid storage class for function ‘scsi_sysfs_add_devices’
drivers/scsi/scsi_scan.c:1695: error: invalid storage class for function ‘scsi_prep_async_scan’
drivers/scsi/scsi_scan.c:1739: error: invalid storage class for function ‘scsi_finish_async_scan’
drivers/scsi/scsi_scan.c:1772: error: invalid storage class for function ‘do_scsi_scan_host’
drivers/scsi/scsi_scan.c:1787: error: invalid storage class for function ‘do_scan_async’
drivers/scsi/scsi_scan.c:1813: error: non-static declaration of ‘scsi_scan_host’ follows static declaration
drivers/scsi/scsi_scan.c:1799: error: previous definition of ‘scsi_scan_host’ was here
drivers/scsi/scsi_scan.c:1875: error: non-static declaration of ‘scsi_get_host_dev’ follows static declaration
drivers/scsi/scsi_scan.c:1853: error: previous definition of ‘scsi_get_host_dev’ was here
drivers/scsi/scsi_scan.c:1896: error: non-static declaration of ‘scsi_free_host_dev’ follows static declaration
drivers/scsi/scsi_scan.c:1891: error: previous definition of ‘scsi_free_host_dev’ was here
drivers/scsi/scsi_scan.c:1896: error: expected declaration or statement at end of input
make[2]: *** [drivers/scsi/scsi_scan.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2


Top
   
PostPosted: Tue Oct 09, 2007 2:45 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Ok I got it !
I'll commit the correction later today and i'll tell you when it'll be done !
Or you can edit drivers/scsi/scsi_scan.c and move the "#endif" from line 1472 to line 1471 (just before the closing bracket)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 59 posts ]  Go to page Previous 1 2 3 4 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited