Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.18-rc4-viper1: Ah, Now That Hit The Spot | Plugsched!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Tue Aug 15, 2006 7:52 pm    Post subject: Reply with quote

vipernicus wrote:
Phlogiston wrote:
vipernicus wrote:
I use that option.


Ok... I'm sorry to tell u, but I can't use standby with this kernel. The disk does not wake up...


OK, what is the error?


How should I know :-D I mean what can I do then... I can't get some messages.... the display turns on "shows" something but the system does not wake up. I think the same happens while suspending. I had that problem with an earlier version...
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
a7thson
Apprentice
Apprentice


Joined: 08 Apr 2006
Posts: 176
Location: your pineal gland

PostPosted: Tue Aug 15, 2006 8:00 pm    Post subject: Reply with quote

vipernicus wrote:

Do the tests for yourself.

You can use hdparm, or what I do:
time tar -xvjf linux-2.6.17.tar.bz2
time rm -rf linux-2.6.17
time cp -r linux-2.6.17 /someotherlocation

CFQ comes out on top with all of them on my machine.


Cool... I will do that, hopefully tonight. Also I'd be curious to see some other metrics - depends on how much time I've got to spare. This 'hobby' sits on borderline obsession :-)
_________________
i7-3610QM | E5-2670 | FX-8300
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Aug 15, 2006 8:58 pm    Post subject: Reply with quote

I had been using cfq previously on all my ide ATA133 drives, but when I got my SATA drives I read deadline was better. IIRC, it had something to do with the serial r/w of data method on SATA drives, and how it differed from ide drives. Whatever it was, it made sense at the time. Any more info about this- maybe that info is now outdated, if it indeed was correct in the first place?

Also, I did notice when I finally enabled the AHCI driver (after previously not having it enabled in scsi-->low-level sata drivers), my sata drive performance instantly went from a miserable 38mb/sec to 50mb/sec, using the same exact kernel and config. So, obviously enabling AHCI was pretty important. As I mentioned, with this new viper1 kernel, I'm now suddenly up to 65mb/sec on the same hardware. Quite a nice improvement.

I've been trying to figure out the best sata drive tweakings, but there's not much info out there I can find., and sdparm still seems pretty limited as to what it can do (and/or I just don't fully understand how to use it yet). :wink:
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Tue Aug 15, 2006 9:02 pm    Post subject: Reply with quote

wrc1944 wrote:
[..]


Thanks for sharing this information. The problem is that ahci does not work here. I get an error -22 or something like that. My hardware:
Code:
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)


/edit: Oh and here is the full output:
Code:

dmesg | grep ahci
ahci 0000:00:1f.2: version 2.0
ahci: probe of 0000:00:1f.2 failed with error -12


Do I need to change stuff in bios?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Aug 15, 2006 9:52 pm    Post subject: Reply with quote

Here's my kernel config scsi stuff- maybe it will help. This is on an older via kv7 (sata1). The sata setting in this bios is pretty rudimentary- IIRC, I only enable the onchip sata controller in "integrated peripherals," and then set it to boot from "other device" (as opposed to an ide drive), to boot from sda1 by placing that line at the top of the list., and ide drives on the bottom.

However, I think your problem is probably the kernel config. I don't recall seeing anything about ahci in my bios, although I'll reboot and look if you need me to.


"dmesg | grep ahci " returns nothing on my box.


# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
# CONFIG_SCSI_SATA_SVW is not set
# CONFIG_SCSI_ATA_PIIX is not set
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
CONFIG_SCSI_SATA_VIA=y
# CONFIG_SCSI_SATA_VITESSE is not set
CONFIG_SCSI_SATA_INTEL_COMBINED=y
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Tue Aug 15, 2006 10:09 pm    Post subject: Reply with quote

Hmm I don't think its the config, I have the same I think. Probably this chipset is just not compatible...
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Tue Aug 15, 2006 11:06 pm    Post subject: Reply with quote

I don't think that you can use AHCI only
I have all in modules:

# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI Transport Attributes
#
CONFIG_SCSI_SPI_ATTRS=m
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# SCSI low-level drivers
#
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
CONFIG_SCSI_SATA=m
CONFIG_SCSI_SATA_AHCI=m
# CONFIG_SCSI_SATA_SVW is not set
CONFIG_SCSI_ATA_PIIX=m
# CONFIG_SCSI_SATA_MV is not set
# CONFIG_SCSI_SATA_NV is not set
# CONFIG_SCSI_PDC_ADMA is not set
# CONFIG_SCSI_SATA_QSTOR is not set
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SX4 is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_SIL24 is not set
# CONFIG_SCSI_SATA_SIS is not set
# CONFIG_SCSI_SATA_ULI is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Aug 15, 2006 11:56 pm    Post subject: Reply with quote

broch,
Your config does have 2-3 more items set than mine- maybe that explains why "dmesg | grep ahci " returns nothing on my box. What happens for you with this command?

On the other hand, after I read some about AHCI, and my sata performance with hdparm -tT /dev/sda was only 38mb/sec, all I did was recompile the kernel, after adding the one item CONFIG_SCSI_SATA_AHCI=y that wasn't enabled before to my config file.

I immediately rebooted into the same kernel, and re-ran hdparm -tT /dev/sda, and it returned 50mb/sec.

My only conclusion can be that enabling that one setting obviously had a significant positive effect.

I'd still like to know why "dmesg | grep ahci " doesn't return anything.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Aug 16, 2006 1:25 am    Post subject: Reply with quote

When talking about kernel sata support. I have two sata2 drives in my box, but hdparm -Tt returns about 65Mb/s (was 50 before viper). Is there any sata2 support in kernel. My drves should be much faster. I've heard 2x faster than ordinary sata.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Wed Aug 16, 2006 2:26 am    Post subject: Reply with quote

About sata, here is:
Serial ATA (SATA) Linux hardware/driver status report
June 30, 2006


http://linux-ata.org/driver-status.html#ich5

It describes some features that are or are not (yet) supported by linux kernel considering sata.

In kernel you can enable
Device Drivers --> SCSI device support --> SCSI low-level drivers

Code:
 <*> EATA ISA/EISA/PCI (DPT and generic EATA/DMA-compliant boards) support         
                  [*]   enable tagged command queueing                                               
                  [*]   enable elevator sorting                                                     
                  (16)  maximum number of queued commands


I guess TCQ stands for tagged command queueing in the link.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu


Last edited by zxy on Wed Aug 16, 2006 3:53 am; edited 1 time in total
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Wed Aug 16, 2006 3:31 am    Post subject: Reply with quote

Quote:
broch,
Your config does have 2-3 more items set than mine- maybe that explains why "dmesg | grep ahci " returns nothing on my box. What happens for you with this command?


dmesg | grep ahci
ahci 0000:00:1f.2: version 1.2
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x5 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Wed Aug 16, 2006 6:24 am    Post subject: Reply with quote

Here's another great link to everything sata related, with many, many links to every conceivable sata subject, in depth. Best I've seen in months of researching this.

http://www.answers.com/topic/serial-ata
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
masterdriverz
Retired Dev
Retired Dev


Joined: 28 Mar 2006
Posts: 391
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy

PostPosted: Wed Aug 16, 2006 9:23 am    Post subject: Reply with quote

Small typo in the ebuild:

Quote:
I, Vipernicus, and

should be
Quote:
I, Vipernicus, am
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 10:11 am    Post subject: Reply with quote

Hmm this is interesting, here is my kernel config, probably you could have a look at it? Thanks in advance!
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 10:30 am    Post subject: Reply with quote

Phlogiston wrote:
vipernicus wrote:
Phlogiston wrote:
vipernicus wrote:
I use that option.

Ok... I'm sorry to tell u, but I can't use standby with this kernel. The disk does not wake up...

OK, what is the error?

How should I know :-D I mean what can I do then... I can't get some messages.... the display turns on "shows" something but the system does not wake up. I think the same happens while suspending. I had that problem with an earlier version...


I'm trying now with vanilla + suspend2 patches...
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 10:33 am    Post subject: Reply with quote

zxy wrote:
About sata, here is:
Serial ATA (SATA) Linux hardware/driver status report
June 30, 2006


http://linux-ata.org/driver-status.html#ich5

It describes some features that are or are not (yet) supported by linux kernel considering sata.

In kernel you can enable
Device Drivers --> SCSI device support --> SCSI low-level drivers

Code:
 <*> EATA ISA/EISA/PCI (DPT and generic EATA/DMA-compliant boards) support         
                  [*]   enable tagged command queueing                                               
                  [*]   enable elevator sorting                                                     
                  (16)  maximum number of queued commands


I guess TCQ stands for tagged command queueing in the link.


Hmm I just saw there that there is no suspend support (in the Driver/Feature Matrix) except ata_piix, probably this has something to do with my problem... Or what does it mean no suspend support?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 12:36 pm    Post subject: Reply with quote

Phlogiston wrote:


I'm trying now with vanilla + suspend2 patches...


And the result is that it works fine 8) So it must be one of those patches... I think its either the inode stuff or the big io cleanup. But (i'm not 100% sure) first it just applied suspend2, then acpi stuff and the io-rollup and it worked. Then i added some squashfs and unionfs + plugshed and to get squashfs compile those inode patches and it broke....

/edit: By the way how can I get squashfs compile without all those inode patches? Because it fails also on vanilla and if I apply the squasfs fix then it gets a kernel bug when using it.

Code:

  CC      fs/squashfs/inode.o
fs/squashfs/inode.c:72: warning: initialization from incompatible pointer type
fs/squashfs/inode.c:84: warning: initialization from incompatible pointer type
fs/squashfs/inode.c: In function `squashfs_get_sb':
fs/squashfs/inode.c:2036: error: too few arguments to function `get_sb_bdev'
fs/squashfs/inode.c:2036: warning: return makes pointer from integer without a cast
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2

_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed Aug 16, 2006 12:55 pm    Post subject: Reply with quote

Phlogiston wrote:
Phlogiston wrote:


I'm trying now with vanilla + suspend2 patches...


And the result is that it works fine 8) So it must be one of those patches... I think its either the inode stuff or the big io cleanup. But (i'm not 100% sure) first it just applied suspend2, then acpi stuff and the io-rollup and it worked. Then i added some squashfs and unionfs + plugshed and to get squashfs compile those inode patches and it broke....

/edit: By the way how can I get squashfs compile without all those inode patches? Because it fails also on vanilla and if I apply the squasfs fix then it gets a kernel bug when using it.

Code:

  CC      fs/squashfs/inode.o
fs/squashfs/inode.c:72: warning: initialization from incompatible pointer type
fs/squashfs/inode.c:84: warning: initialization from incompatible pointer type
fs/squashfs/inode.c: In function `squashfs_get_sb':
fs/squashfs/inode.c:2036: error: too few arguments to function `get_sb_bdev'
fs/squashfs/inode.c:2036: warning: return makes pointer from integer without a cast
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2


The inode patch for squashfs is seperate.

Try this:
http://vipernicus.evolution-mission.org/patches/2.6.18-rc4/viper1/broken-out/squashfs-3.0-inode-diet.patch
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog


Last edited by vipernicus on Wed Aug 16, 2006 1:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Aug 16, 2006 1:02 pm    Post subject: Reply with quote

Phlogiston wrote:
Phlogiston wrote:


I'm trying now with vanilla + suspend2 patches...


And the result is that it works fine 8) So it must be one of those patches... I think its either the inode stuff or the big io cleanup. But (i'm not 100% sure) first it just applied suspend2, then acpi stuff and the io-rollup and it worked. Then i added some squashfs and unionfs + plugshed and to get squashfs compile those inode patches and it broke....

/edit: By the way how can I get squashfs compile without all those inode patches? Because it fails also on vanilla and if I apply the squasfs fix then it gets a kernel bug when using it.

Code:

  CC      fs/squashfs/inode.o
fs/squashfs/inode.c:72: warning: initialization from incompatible pointer type
fs/squashfs/inode.c:84: warning: initialization from incompatible pointer type
fs/squashfs/inode.c: In function `squashfs_get_sb':
fs/squashfs/inode.c:2036: error: too few arguments to function `get_sb_bdev'
fs/squashfs/inode.c:2036: warning: return makes pointer from integer without a cast
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2


You need to remove i_blksize, make the get_sb function initialize rather than be a structure, add the vfsmount structure to it.

You can find the patch on viper's server.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 1:18 pm    Post subject: Reply with quote

vipernicus wrote:
Phlogiston wrote:
Phlogiston wrote:


I'm trying now with vanilla + suspend2 patches...


And the result is that it works fine 8) So it must be one of those patches... I think its either the inode stuff or the big io cleanup. But (i'm not 100% sure) first it just applied suspend2, then acpi stuff and the io-rollup and it worked. Then i added some squashfs and unionfs + plugshed and to get squashfs compile those inode patches and it broke....

/edit: By the way how can I get squashfs compile without all those inode patches? Because it fails also on vanilla and if I apply the squasfs fix then it gets a kernel bug when using it.

Code:

  CC      fs/squashfs/inode.o
fs/squashfs/inode.c:72: warning: initialization from incompatible pointer type
fs/squashfs/inode.c:84: warning: initialization from incompatible pointer type
fs/squashfs/inode.c: In function `squashfs_get_sb':
fs/squashfs/inode.c:2036: error: too few arguments to function `get_sb_bdev'
fs/squashfs/inode.c:2036: warning: return makes pointer from integer without a cast
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2


The inode patch for squashfs is seperate.

Try this:
http://vipernicus.evolution-mission.org/patches/2.6.18-rc4/viper1/broken-out/squashfs-3.0-inode-diet.patch


I tried this and it compiles but as I said it does not work afterwards and I think this is because I don't have the basic diet patch applied, am I right?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 1:19 pm    Post subject: Reply with quote

cheater1034 wrote:
[

You need to remove i_blksize, make the get_sb function initialize rather than be a structure, add the vfsmount structure to it.

You can find the patch on viper's server.


Hmm but this gives me a kernel Oops while running....
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed Aug 16, 2006 1:20 pm    Post subject: Reply with quote

Phlogiston wrote:
cheater1034 wrote:
[

You need to remove i_blksize, make the get_sb function initialize rather than be a structure, add the vfsmount structure to it.

You can find the patch on viper's server.


Hmm but this gives me a kernel Oops while running....


If you already have -viper installed, then you don't need that patch. I don't understand what you are doing.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Wed Aug 16, 2006 1:23 pm    Post subject: Reply with quote

hmmm,
wondering if anyone knows about possible patches for ipw3945 currently driver does not compile (changed ieee80211)
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Wed Aug 16, 2006 1:24 pm    Post subject: Reply with quote

vipernicus wrote:
Phlogiston wrote:
cheater1034 wrote:
[

You need to remove i_blksize, make the get_sb function initialize rather than be a structure, add the vfsmount structure to it.

You can find the patch on viper's server.


Hmm but this gives me a kernel Oops while running....


If you already have -viper installed, then you don't need that patch. I don't understand what you are doing.


As I wrote: I got vanilla 2.6.18-rc4 and applied ___only___ suspend patch to show and prove that patches in your viper patchset break suspend/standby functionality here. Then I applied so more patches to get my own patchset with working suspend and figuring out wich of your included patches breaks the functionality. Are you with me? Can you follow? And then I could not get squashfs to work on vanilla....
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed Aug 16, 2006 1:27 pm    Post subject: Reply with quote

Phlogiston wrote:
vipernicus wrote:
Phlogiston wrote:
cheater1034 wrote:
[

You need to remove i_blksize, make the get_sb function initialize rather than be a structure, add the vfsmount structure to it.

You can find the patch on viper's server.


Hmm but this gives me a kernel Oops while running....


If you already have -viper installed, then you don't need that patch. I don't understand what you are doing.


As I wrote: I got vanilla 2.6.18-rc4 and applied ___only___ suspend patch to show and prove that patches in your viper patchset break suspend/standby functionality here. Then I applied so more patches to get my own patchset with working suspend and figuring out wich of your included patches breaks the functionality. Are you with me? Can you follow? And then I could not get squashfs to work on vanilla....


I understand and appreciate your efforts.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
Jump to:  
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 vote in polls in this forum