[flashrom] Help: trouble when flashing rom

Idwer Vollering vidwer at gmail.com
Tue Apr 19 22:05:20 CEST 2011


2011/4/19 Cyrille Bartholomée <cyrille at bartholomee.com>:
> Sorry for not using "reply to all.
>
> I've attached the output of dmesg to this mail.
>
> Hope you can help me further on this issue.

Hi,

This at first doesn't look good:
[38306.942453] flashrom[11711]: segfault at 0 ip (null) sp bfacc5cc
error 4 in libpci.so.3.1.7[2b7000+9000]

Is your laptop still powered on and are you close to it ?

Can you run "gdb --args ./flashrom -V -w <file_you_want_to_write>" (as
root) and copy the output ?
You then should see this lines of text, the commands are after the
closing parentheses:

(gdb) run
// lots of text
(gdb) bt
// some more text, this is the relevant part

Are you able (and willing) to join IRC, irc://irc.freenode.net/#flashrom ?

>
> Kind regards,
>
> Cyrille Bartholomée | De Damhouderestraat 20 | 2018 Antwerpen
>
> t. 0032 3 298 4244 | m. 0032 499 711 018 | e. cyrille at bartholomee.com
>
> Op dinsdag 19 april 2011 12:29:22 schreef Idwer Vollering:
>
>> Please use "reply to all" in the future. Thanks.
>
>>
>
>> 2011/4/19 Cyrille Bartholomée <cyrille at bartholomee.com>:
>
>> > Dear Idwer,
>
>> >
>
>> > Just built checkout from svn. It outputs this result:
>
>>
>
>> Again: DO NOT REBOOT OR POWEROFF YOUR LAPTOP.I'
>
>>
>
>> >
>
>> > flashrom v0.9.3-r1288 on Linux 2.6.35-28-generic (i686), built with
>> > libpci
>
>> > 3.1.7, GCC 4.4.5, little endian
>
>> >
>
>> > flashrom is free software, get the source code at
>> > http://www.flashrom.org
>
>> >
>
>> > Calibrating delay loop... delay loop is unreliable, trying to continue
>> > OK.
>
>> >
>
>> > Found chipset "Intel ICH4-M", enabling flash write... OK.
>
>> >
>
>> > This chipset supports the following protocols: FWH.
>
>> >
>
>> > Found chip "SST SST49LF004A/B" (512 KB, FWH) at physical address
>> > 0xfff80000.
>
>> >
>
>> > Flash image seems to be a legacy BIOS. Disabling checks.
>
>> >
>
>> > Erasing and writing flash chip... ERASE FAILED at 0x00016000!
>> > Expected=0xff,
>
>> > Read=0xae, failed byte count from 0x00016000-0x00016fff: 0xfde
>
>> >
>
>> > ERASE FAILED!
>
>> >
>
>> > ERASE FAILED at 0x00010000! Expected=0xff, Read=0xca, failed byte count
>> > from
>
>> > 0x00010000-0x0001ffff: 0xfeb2
>
>> >
>
>> > ERASE FAILED!
>
>> >
>
>> > Segmentatiefout
>
>> >
>
>> > Segmentatiefout=segmentation error
>
>>
>
>> flashrom should NOT have segfaulted. Can you show the last lines of
>
>> dmesg (dmesg | tail) ?
>
>>
>
>> >
>
>> > Maybe this information can help you?
>
>> >
>
>> > Regards,
>
>> >
>
>> > Cyrille Bartholomée | De Damhouderestraat 20 | 2018 Antwerpen
>
>> >
>
>> > t. 0032 3 298 4244 | m. 0032 499 711 018 | e. cyrille at bartholomee.com
>
>> >
>
>> > Op dinsdag 19 april 2011 07:25:59 schreef Cyrille Bartholomée:
>
>> >
>
>> >> Dear Idwer,
>
>> >
>
>> >>
>
>> >
>
>> >>
>
>> >
>
>> >> First of all thank you for responding so fast and trying to help me!
>
>> >
>
>> >>
>
>> >
>
>> >> 1. Downloaded and built latest flashrom. Problem remains exactly the
>> >> same
>
>> >> as with previous version.
>
>> >
>
>> >> 2. I am using an Asus laptop model M6Ne, the exact type of board I
>> >> don't
>
>> >> know.
>
>> >
>
>> >> 3. I have run the commands you mentioned, the results are attached to
>> >> this
>
>> >> mail.
>
>> >
>
>> >>
>
>> >
>
>> >> If there is more information you need, please let me know.
>
>> >
>
>> >>
>
>> >
>
>> >> Again, thanks for your help.
>
>> >
>
>> >>
>
>> >
>
>> >>
>
>> >
>
>> >> Kind regards,
>
>> >
>
>> >>
>
>> >
>
>> >> Cyrille Bartholomée | De Damhouderestraat 20 | 2018 Antwerpen
>
>> >
>
>> >> t. 0032 3 298 4244 | m. 0032 499 711 018 | e. cyrille at bartholomee.com
>
>> >
>
>> >>
>
>> >
>
>> >> Op dinsdag 19 april 2011 00:21:28 schreef u:
>
>> >
>
>> >> > 2011/4/18 Cyrille Bartholomée <cyrille at bartholomee.com>:
>
>> >
>
>> >> > > Dear,
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > I'm facing this problem when flashing my rom:
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > flashrom v0.9.2-r1028 on Linux 2.6.35-28-generic (i686), built with
>
>> >> > > libpci
>
>> >
>
>> >> > > 3.0.0, GCC 4.4.4, little endian
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > flashrom is free software, get the source code at
>
>> >> > > http://www.flashrom.org
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Calibrating delay loop... delay loop is unreliable, trying to
>> >> > > continue
>
>> >> > > OK.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > No coreboot table found.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Found chipset "Intel ICH4-M", enabling flash write... OK.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > This chipset supports the following protocols: Non-SPI.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Found chip "SST SST49LF004A/B" (512 KB, FWH) at physical address
>
>> >> > > 0xfff80000.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Flash image seems to be a legacy BIOS. Disabling checks.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Writing flash chip... Erasing flash chip... ERASE FAILED at
>
>> >> > > 0x00000008!
>
>> >
>
>> >> > > Expected=0xff, Read=0x00, failed byte count from
>
>> >> > > 0x00000000-0x00000fff:
>
>> >
>
>> >> > > 0xfc5
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > ERASE FAILED!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > ERASE FAILED at 0x00000008! Expected=0xff, Read=0x00, failed byte
>
>> >> > > count from
>
>> >
>
>> >> > > 0x00000000-0x0000ffff: 0xfadb
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > ERASE FAILED!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > FAILED!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > ERASE FAILED!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > FAILED!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Your flash chip is in an unknown state.
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Get help on IRC at irc.freenode.net (channel #flashrom) or
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > mail flashrom at flashrom.org!
>
>> >
>
>> >> >
>
>> >
>
>> >> > Can you:
>
>> >
>
>> >> > - try a newer release (or build the latest developemt code yourself
>
>> >
>
>> >> > http://www.flashrom.org/Downloads#Installation_from_source)
>
>> >
>
>> >> > - mention the exact name of your board (including revision, if there
>
>> >
>
>> >> > are multiple revisions)
>
>> >
>
>> >> > - attach the output of 'flashrom -V', 'lspci -nnvvvxxx', 'superiotool
>
>> >
>
>> >> > -deV' (run all commands as root)
>
>> >
>
>> >> >
>
>> >
>
>> >> >
>
>> >
>
>> >> > Thanks in advance,
>
>> >
>
>> >> > Idwer
>
>> >
>
>> >> >
>
>> >
>
>> >> > >
>
>> >
>
>> >> > >
>
>> >> > >
>> >> > > -------------------------------------------------------------------------------
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > DO NOT REBOOT OR POWEROFF!
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Regards,
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > Cyrille Bartholomée | De Damhouderestraat 20 | 2018 Antwerpen
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > t. 0032 3 298 4244 | m. 0032 499 711 018 | e.
>> >> > > cyrille at bartholomee.com
>
>> >
>
>> >> > >
>
>> >
>
>> >> > > _______________________________________________
>
>> >
>
>> >> > > flashrom mailing list
>
>> >
>
>> >> > > flashrom at flashrom.org
>
>> >
>
>> >> > > http://www.flashrom.org/mailman/listinfo/flashrom
>
>> >
>
>> >> > >
>
>> >
>
>> >> >
>
>> >
>
>> >>
>
>>




More information about the flashrom mailing list