Linux Alpha port: kernel panik under moderate DISK IO conditions
Quoted 3 lines · Rao Davide
My name is David Rao and I have an old alpha DS10 ds10 (ev6 Tsunami-webbrick cpu) with internal HDU on a LSI controller and external HSZ80 storage attached to a Qlogic.
Well, the CONFIG_SCSI_QLOGIC_ISP driver isn't supported, and you may have noticed prints big warning messages when you boot with it.
Fortunately, the CONFIG_SCSI_QLOGIC_1280 driver has been extended to handle the 1020 and 1040 devices. I've been using that for a while now on my ds10.
r~
I'm not using the qlogic controller as boot controller. I'm mooting from the internal disk connected to LSI controller. In any case I'll try out the suggested 1280 right now.
Can I build a modular kernel with the 2.6 kernel series ? I would find it handy to have som parts colpiled as modules.
--
Regards
Davide Rao
Client/server Unix
Atos Origin
Via C.Viola - Pont St. Martin (AO) Italy
Cell : +39 3357599151 Tel : +39 125810433 Email: [email protected]
Quoted 14 lines · Richard Henderson
Quoted 1 line · Rao Davide
My name is David Rao and I have an old alpha DS10 ds10 (ev6 Tsunami-webbrick cpu) with internal HDU on a LSI controller and external HSZ80 storage attached to a Qlogic.
Well, the
CONFIG_SCSI_QLOGIC_ISPdriver isn't supported, and you may have noticed prints big warning messages when you boot with it.Fortunately, the
CONFIG_SCSI_QLOGIC_1280driver has been extended to handle the 1020 and 1040 devices. I've been using that for a while now on my ds10.r~
Linux Alpha port: LVM
Is LVM working on the alpha port 2.6 kernel series ?
If so where do I get libdevmapper so that I can build the userspace LVM utils ?
I tryied downloading ftp://sources.redhat.com/pub/dm/multipath-toolsmultipath-tools-0.4.3.tar.bz2 But I fail to compile it so I'm also unable tu build the userspace lvm utils.
--
Regards
Davide Rao
Client/server Unix
Atos Origin
Via C.Viola - Pont St. Martin (AO) Italy
Cell : +39 3357599151 Tel : +39 125810433 Email: [email protected]
Re: Linux Alpha port: LVM
Quoted 1 line · Rao Davide
Is LVM working on the alpha port 2.6 kernel series ?
I have no idea. I've no use for the thing myself.
r~
Re: Linux Alpha port: LVM
In reply to Rao DavideQuoted 1 line · Rao Davide
Is LVM working on the alpha port 2.6 kernel series ?
Works for me.
Quoted 2 lines
If so where do I get libdevmapper so that I can build the userspace LVM utils ?
Same place as you'd get it for any other system. Doesn't your distribution include it?
Signature · 2 lines
Måns Rullgård [email protected]
Re: Linux Alpha port: LVM
In reply to Rao DavideQuoted 1 line · Rao Davide
Is LVM working on the alpha port 2.6 kernel series ?
works fine for me.
Quoted 5 lines
If so where do I get libdevmapper so that I can build the userspace LVM utils ?
I tryied downloading ftp://sources.redhat.com/pub/dm/multipath-toolsmultipath-tools-0.4.3.tar.bz2
what do you think the 'dm' in that url stands for, hm?
Quoted 2 lines
But I fail to compile it so I'm also unable tu build the userspace lvm utils.
'userspace lvm utils' can be found here:
ftp://sources.redhat.com/pub/lvm2
multipath tools might be something different ... :)
Quoted 9 lines
--
Regards
Davide Rao
Client/server Unix
Atos Origin
Via C.Viola - Pont St. Martin (AO) ItalyCell : +39 3357599151 Tel : +39 125810433 Email: [email protected]
73 Thorsten
Signature · 3 lines
| Thorsten Kranzkowski Internet: [email protected] | | Mobile: ++49 170 1876134 Snail: Kiebitzstr. 14, 49324 Melle, Germany | | Ampr: dl8bcu@db0lj.#rpl.deu.eu, [email protected] [44.130.8.19] |
Re: Linux Alpha port: LVM
Quoted 3 lines
Quoted 1 line
Is LVM working on the alpha port 2.6 kernel series ?
works fine for me.
Are you using a redhat based distro (like suse, mandrake, alpha core or indeed redhat )?
Are you using stock kernel, libraries and tools or did you haveto build them yourself ?
Debian comes with LVM1 tools that do not work with 2.6 kernels so I need to compile them myself or install some ready build binary package for alpha processor and compatible with the libraries that come with debian3. What alpha architecture are you running on ?
Quoted 7 lines
Quoted 3 lines
If so where do I get libdevmapper so that I can build the userspace LVM utils ?
I tryied downloading ftp://sources.redhat.com/pub/dm/multipath-toolsmultipath-tools-0.4.3.tar.bz2
what do you think the 'dm' in that url stands for, hm?
Quoted 8 lines
Quoted 1 line
But I fail to compile it so I'm also unable tu build the userspace lvm utils.
'userspace lvm utils' can be found here:
ftp://sources.redhat.com/pub/lvm2
multipath tools might be something different ... :)
It may also have something more but it has libdevmapper in it ...
In any case I also tried downloading and compiling device-mapper.1.00.07.tgz from the link in the LVM2. It builds and installe fine but I still get compilation errore when I build LVM2. Configute is fine, here are a few lines concerning libdevmapper
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
but when I try to compile:
gcc -c -I. -I../include -DLVM1_INTERNAL -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 cache/lvmcache.c -o cache/lvmcache.o activate/activate.c: In function `target_present':activate/activate.c:303: error: `DM_DEVICE_LIST_VERSIONS' undeclared (first use in this function)activate/activate.c:303: error: (Each undeclared identifier is reported only onceactivate/activate.c:303: error: for each function it appears in.)activate/activate.c:314: warning: implicit declaration of function `dm_task_get_versions'activate/activate.c:314: warning: nested extern declaration of `dm_task_get_versions'activate/activate.c:314: warning: assignment makes pointer from integer without a castactivate/activate.c:319: error: dereferencing pointer to incomplete type
...
same message repeated many times
...
make[1]: *** [activate/activate.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/LVM2.2.01.09/lib'
make: *** [lib] Error 2
I'm using kernel 2.6.11.7 downloaded from kernel.org. Here's the relevent section for raid/lvm in config:
# Multi-device support (RAID and LVM)
#CONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_LINEAR=yCONFIG_MD_RAID0=yCONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set CONFIG_MD_RAID5=y
# CONFIG_MD_RAID6 is not set CONFIG_MD_MULTIPATH=yCONFIG_MD_FAULTY=yCONFIG_BLK_DEV_DM=y
# CONFIG_DM_CRYPT is not set
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_ZERO is not set
Do I need to patch kernel ?
Quoted 16 lines
Quoted 11 lines
--
Regards
Davide Rao
Client/server Unix
Atos Origin
Via C.Viola - Pont St. Martin (AO) ItalyCell : +39 3357599151 Tel : +39 125810433 Email: [email protected]73 Thorsten
Re: Linux Alpha port: LVM
Sorry to bother you all ... the problem was that I issued some options during configuration to specify where the kernel was, apparently I should only do that on 2.4 series kernels.
I re-extracted the kernel sources and started over again. It's nor working fine now.
Thanks anyway
--
Regards
Davide Rao
Client/server Unix
Atos Origin
Via C.Viola - Pont St. Martin (AO) Italy
Cell : +39 3357599151 Tel : +39 125810433 Email: [email protected]
Quoted 104 lines · Davide Rao
Quoted 4 lines
Quoted 1 line
Is LVM working on the alpha port 2.6 kernel series ?
works fine for me.
Are you using a redhat based distro (like suse, mandrake, alpha core or indeed redhat )?
Are you using stock kernel, libraries and tools or did you haveto build them yourself ?
Debian comes with LVM1 tools that do not work with 2.6 kernels so I need to compile them myself or install some ready build binary package for alpha processor and compatible with the libraries that come with debian3. What alpha architecture are you running on ?Quoted 13 lines
Quoted 4 lines
If so where do I get libdevmapper so that I can build the userspace LVM utils ?
I tryied downloading ftp://sources.redhat.com/pub/dm/multipath-toolsmultipath-tools-0.4.3.tar.bz2
what do you think the 'dm' in that url stands for, hm?
Quoted 1 line
But I fail to compile it so I'm also unable tu build the userspace lvm utils.
Quoted 5 lines
'userspace lvm utils' can be found here:
ftp://sources.redhat.com/pub/lvm2
multipath tools might be something different ... :)
It may also have something more but it has libdevmapper in it ...
In any case I also tried downloading and compiling device-mapper.1.00.07.tgz from the link in the LVM2. It builds and installe fine but I still get compilation errore when I build LVM2. Configute is fine, here are a few lines concerning libdevmapperchecking
libdevmapper.husability... yes
checkinglibdevmapper.hpresence... yes
checking forlibdevmapper.h... yesbut when I try to compile:
gcc -c -I. -I../include -DLVM1_INTERNAL -DPOOL_INTERNAL
(quoted diff) +0
-5-DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 cache/lvmcache.c -o cache/lvmcache.o
activate/activate.c: In function `target_present':activate/activate.c:303: error: `DM_DEVICE_LIST_VERSIONS' undeclared (first use in this function)activate/activate.c:303: error: (Each undeclared identifier is reported only onceactivate/activate.c:303: error: for each function it appears in.)activate/activate.c:314: warning: implicit declaration of functiondm_task_get_versions' activate/activate.c:314: warning: nested extern declaration ofdm_task_get_versions'activate/activate.c:314: warning: assignment makes pointer from integer without a castactivate/activate.c:319: error: dereferencing pointer to incomplete type
...
same message repeated many times
...
make[1]: *** [activate/activate.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/LVM2.2.01.09/lib'
make: *** [lib] Error 2I'm using kernel 2.6.11.7 downloaded from kernel.org. Here's the relevent section for raid/lvm in config:
# Multi-device support (RAID and LVM)
#CONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_LINEAR=yCONFIG_MD_RAID0=yCONFIG_MD_RAID1=y
#CONFIG_MD_RAID10is not setCONFIG_MD_RAID5=y
#CONFIG_MD_RAID6is not setCONFIG_MD_MULTIPATH=yCONFIG_MD_FAULTY=yCONFIG_BLK_DEV_DM=y
#CONFIG_DM_CRYPTis not set
#CONFIG_DM_SNAPSHOTis not set
#CONFIG_DM_MIRRORis not set
#CONFIG_DM_ZEROis not setDo I need to patch kernel ?
Quoted 17 lines
Quoted 11 lines
Signature · 9 lines
-- Regards Davide Rao Client/server Unix Atos Origin Via C.Viola - Pont St. Martin (AO) Italy Cell : +39 3357599151 Tel : +39 125810433 Email: [email protected]73 Thorsten