Re: Kernel Oops
Hi,
I noticed quite a bit of conversation on aboot. I was concerned about the partitioning scheme when issuing the swrite command I got this error.
debian:/boot# swriteboot /dev/sda1 bootlx
Existing disk label is corrupt
Couldn't get a valid disk label, exiting
debian:/boot# swriteboot /dev/sda bootlx
error: bootcode overlaps with partition #1. If you really want this, use -f1
So I used:
swriteboot -f1 /dev/sda bootlx
and it worked fine.
Aboot now handles kernels greater than 2.6.22, see my dmesg. Thanks Steve, Helge, and Tim I saw your discussion and it made me look twice at aboot. Concerning testing "about" on etch I am already on lenny/sid as such I have no way of testing etch. I run mainly core and it runs much better than etch, less kernel oops. Aboot works fine now with lastest kernels. To think I custom built a current kernel a month ago ( with make-kpkg ) and it would not boot. That custom kernel would boot now if I had kept it. I did dd if=/dev/sda1 of=/test to backup the contents of /dev/sda1 before I issued the swrite command, just in case swrite didn't work. I don't know if swrite wrote to sda1 or used some other bsd sda style partition scheme. But everything works fine.
debian:/boot# dpkg -l | fgrep -i aboot
ii aboot 1.0~pre20040408-2
ii aboot-base 1.0~pre20040408-2
dmesg:
[ 0.000000] Linux version 2.6.25-1-alpha-generic (Debian 2.6.25-1) (waldi@debian.org) (gcc version 4.1.3 20080420 (prerelease) (Debian 4.1.2-22)) #1 Mon Apr 28 13:59:06 UTC 2008
[ 0.000000] Booting GENERIC on Miata using machine vector Miata from SRM
[ 0.000000] Major Options: MAGIC_SYSRQ
[ 0.000000] Command line: ro root=/dev/sda3
[ 0.000000] memcluster 0, usage 1, start 0, end 236
[ 0.000000] memcluster 1, usage 0, start 236, end 16383
[ 0.000000] memcluster 2, usage 1, start 16383, end 16384
[ 0.000000] freeing pages 236:2048
[ 0.000000] freeing pages 2974:16383
[ 0.000000] reserving pages 2974:2975
[ 0.000000] Initial ramdisk at: 0xfffffc000770c000 (8322760 bytes)
[ 0.000000] pci: cia revision 1 (pyxis)
[ 0.000000] On node 0 totalpages: 16383
[ 0.000000] DMA zone: 111 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 16272 pages, LIFO batch:3
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000976] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16272
[ 0.000976] Kernel command line: ro root=/dev/sda3
[ 0.000976] PID hash table entries: 512 (order: 9, 4096 bytes)
[ 0.000976] HWRPB cycle frequency bogus. Estimated 433209218 Hz
[ 0.000976] Using epoch = 2000
[ 0.003906] Console: colour VGA+ 80x25
[ 0.003906] console [tty0] enabled
[ 0.004882] Dentry cache hash table entries: 16384 (order: 4, 131072 bytes)
[ 0.005859] Inode-cache hash table entries: 8192 (order: 3, 65536 bytes)
[ 0.018554] Memory: 112384k/131064k available (2105k kernel code, 16664k reserved, 3306k data, 296k init)
[ 0.018554] Calibrating delay loop... 856.48 BogoMIPS (lpj=417792)
[ 0.040039] Security Framework initialized
[ 0.040039] Capability LSM initialized
[ 0.040039] Mount-cache hash table entries: 512
[ 0.041015] Initializing cgroup subsys ns
[ 0.041015] Initializing cgroup subsys cpuacct
[ 0.051757] net_namespace: 1000 bytes
[ 0.052734] NET: Registered protocol family 16
[ 0.056640] EISA bus registered
[ 0.056640] pci: passed tb register update test
[ 0.056640] pci: passed sg loopback i/o read test
[ 0.056640] pci: passed pte write cache snoop test
[ 0.056640] pci: failed valid tag invalid pte reload test (mcheck; workaround available)
[ 0.057617] pci: passed pci machine check test
[ 0.057617] pci: tbia workaround enabled
[ 0.058593] pci: enabling save/restore of SRM state
[ 0.063476] PCI: Bridge: 0000:00:14.0
[ 0.063476] IO window: 8000-8fff
[ 0.063476] MEM window: 0x09800000-0x098fffff
[ 0.063476] PREFETCH window: 0x0000000009900000-0x00000000099fffff
[ 0.071289] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.084960] NET: Registered protocol family 2
[ 0.093750] IP route cache hash table entries: 1024 (order: 0, 8192 bytes)
[ 0.094726] TCP established hash table entries: 4096 (order: 3, 65536 bytes)
[ 0.095703] TCP bind hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.095703] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.095703] TCP reno registered
[ 0.099609] checking if image is initramfs... it is
[ 6.271487] Freeing initrd memory: 8127k freed
[ 6.276370] VFS: Disk quotas dquot_6.5.1
[ 6.276370] Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[ 6.277346] io scheduler noop registered
[ 6.277346] io scheduler anticipatory registered
[ 6.277346] io scheduler deadline registered
[ 6.277346] io scheduler cfq registered (default)
[ 6.277346] isapnp: Scanning for PnP cards...
[ 6.630862] isapnp: No Plug & Play device found
[ 6.665042] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 6.666019] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 6.666995] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 6.679690] brd: module loaded
[ 6.688479] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 6.688479] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 6.690433] mice: PS/2 mouse device common for all mice
[ 6.692386] EISA: Probing bus 0 at eisa.0
[ 6.696292] TCP cubic registered
[ 6.696292] NET: Registered protocol family 1
[ 6.696292] NET: Registered protocol family 17
[ 6.698245] registered taskstats version 1
[ 6.698245] Freeing unused kernel memory: 296k freed
[ 7.132816] input: AT Translated Set 2 keyboard as /class/input/input0
[ 24.154309] Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
[ 24.158215] tulip0: EEPROM default media type Autosense.
[ 24.158215] tulip0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
[ 24.158215] tulip0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
[ 24.159192] tulip0: Index #2 - Media 10base2 (#1) described by a 21142 Serial PHY (2) block.
[ 24.159192] tulip0: Index #3 - Media AUI (#2) described by a 21142 Serial PHY (2) block.
[ 24.159192] tulip0: Index #4 - Media MII (#11) described by a 21142 MII PHY (3) block.
[ 24.164074] tulip0: MII transceiver #5 config 0000 status 7849 advertising 01e1.
[ 24.168957] eth0: Digital DS21142/43 Tulip rev 48 at Port 0x9000, 00:00:f8:75:58:86, IRQ 24.
[ 24.471692] Uniform Multi-Platform E-IDE driver
[ 24.471692] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 24.693372] CMD646: IDE controller (0x1095:0x0646 rev 0x01) at PCI slot 0000:00:04.0
[ 24.693372] CMD646: not 100% native mode: will probe irqs later
[ 24.693372] CMD646: MultiWord DMA limited, IRQ workaround enabled
[ 24.694348] ide0: BM-DMA at 0x9080-0x9087, BIOS settings: hda:DMA, hdb:DMA
[ 24.694348] ide1: BM-DMA at 0x9088-0x908f, BIOS settings: hdc:PIO, hdd:PIO
[ 24.694348] Probing IDE interface ide0...
[ 25.538099] hda: TOSHIBA CD-ROM XM-5702B, ATAPI CD/DVD-ROM drive
[ 25.789075] SCSI subsystem initialized
[ 27.164076] hdb: YAMAHA CRW2200E, ATAPI CD/DVD-ROM drive
[ 27.292006] hda: applying conservative PIO "downgrade"
[ 27.292006] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO2
[ 27.292982] hda: MWDMA1 mode selected
[ 27.292982] hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 27.292982] hdb: MWDMA2 mode selected
[ 27.292982] Probing IDE interface ide1...
[ 28.268569] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 28.274428] qla1280: QLA1040 found on PCI bus 1, dev 9
[ 28.583022] libata version 3.00 loaded.
[ 29.553726] scsi(0:0): Resetting SCSI BUS
[ 32.557633] scsi0 : QLogic QLA1040 PCI to SCSI Host Adapter
[ 32.557633] Firmware version: 7.65.06, Driver version 3.26
[ 32.805680] scsi 0:0:0:0: Direct-Access IBM DXHS36D 02A0 PQ: 0 ANSI: 3
[ 32.805680] scsi(0:0:0:0): Sync: period 10, offset 12, Wide
[ 33.375017] hda: ATAPI 12X CD-ROM drive, 256kB Cache
[ 33.375017] Uniform CD-ROM driver Revision: 3.20
[ 33.379899] hdb: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache
[ 35.825213] Driver 'sd' needs updating - please use bus_type methods
[ 35.950213] sd 0:0:0:0: [sda] 71132960 512-byte hardware sectors (36420 MB)
[ 35.952166] sd 0:0:0:0: [sda] Write Protect is off
[ 35.952166] sd 0:0:0:0: [sda] Mode Sense: f3 00 10 08
[ 36.077166] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 36.082049] sd 0:0:0:0: [sda] 71132960 512-byte hardware sectors (36420 MB)
[ 36.084002] sd 0:0:0:0: [sda] Write Protect is off
[ 36.084002] sd 0:0:0:0: [sda] Mode Sense: f3 00 10 08
[ 36.086932] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 36.086932] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[ 36.213885] sd 0:0:0:0: [sda] Attached SCSI disk
[ 38.467793] ReiserFS: sda3: found reiserfs format "3.6" with standard journal
[ 38.467793] ReiserFS: sda3: using ordered data mode
[ 38.479511] ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 38.493183] ReiserFS: sda3: checking transaction log (sda3)
[ 38.529316] ReiserFS: sda3: Using r5 hash to sort names
[ 43.757834] Adding 351544k swap on /dev/sda5. Priority:-1 extents:1 across:351544k
[ 51.469752] loop: module loaded
[ 53.395535] JFS: nTxBlock = 472, nTxLock = 3779
[ 53.918972] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 53.924832] SGI XFS Quota Management subsystem
[ 53.949246] XFS mounting filesystem sda6
[ 54.063504] Ending clean XFS mount for filesystem: sda6
[ 54.427762] kjournald starting. Commit interval 5 seconds
[ 54.429715] EXT3 FS on sda4, internal journal
[ 54.429715] EXT3-fs: mounted filesystem with ordered data mode.
[ 60.345734] ndbd(1058): unaligned trap at 000000012026b14c: 000000012040804d 28 1
[ 60.346710] ndbd(1058): unaligned trap at 000000012026b158: 000000012040804d 2c 2
[ 60.347687] ndbd(1058): unaligned trap at 000000012026b14c: 000000012040804d 28 1
[ 60.347687] ndbd(1058): unaligned trap at 000000012026b158: 000000012040804d 2c 2
[ 66.647495] NET: Registered protocol family 10
[ 66.651401] lo: Disabled Privacy Extensions
[ 117.968810] eth0: CSR0 01a0e000
[ 120.973694] eth0: Setting full-duplex based on MII#5 link partner capability of 45e1.
[ 128.197331] eth0: no IPv6 routers present
Rodney Ross <rodross@myrealbox.com>
Reply to: